]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/macro.h
tree-wide: replace 'unsigned int' with 'unsigned'
[thirdparty/systemd.git] / src / basic / macro.h
index 63a8be440f2e286f56893d231f790eeeabcaa1b6..07065dfe702b19eaa96ab5f5e097007107ac014d 100644 (file)
@@ -335,7 +335,7 @@ static inline int __coverity_check__(int condition) {
 
 #define PTR_TO_INT(p) ((int) ((intptr_t) (p)))
 #define INT_TO_PTR(u) ((void *) ((intptr_t) (u)))
-#define PTR_TO_UINT(p) ((unsigned int) ((uintptr_t) (p)))
+#define PTR_TO_UINT(p) ((unsigned) ((uintptr_t) (p)))
 #define UINT_TO_PTR(u) ((void *) ((uintptr_t) (u)))
 
 #define PTR_TO_LONG(p) ((long) ((intptr_t) (p)))