]> git.corax.cc Git - corax/commitdiff
Change pid_t to be a signed integer, in accordance with IEEE Std 1003.1-2004
authorMatthias Kruk <m@m10k.eu>
Tue, 4 Feb 2020 12:37:00 +0000 (21:37 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 4 Feb 2020 12:37:00 +0000 (21:37 +0900)
include/corax/types.h

index d0a4272f44fa7feae8a6bab1e58ab5ca8da9ac0c..119dfe1eaa185a10b178d13984236bf8c80183ce 100644 (file)
@@ -33,7 +33,7 @@ typedef signed long long int    i64_t;
 #define FALSE   0
 #define TRUE    (!FALSE)
 
-typedef u32_t pid_t;
+typedef i32_t pid_t;
 typedef u32_t uid_t;
 typedef u32_t gid_t;