diff options
author | Zbigniew JÄdrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-25 17:07:21 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-25 17:07:21 -0500 |
commit | 2ecc6ef9a20fa44978db0c151ed8a59e8e529716 (patch) | |
tree | b3f028c98c0d82e06414d293a90a9dd97c5397a2 /src/shared/util.h | |
parent | d08c44759ababc16e6ea53ca2477e73e7286e1b5 (diff) |
shared/util: use signed printf format for PIDs
gcc 5 started warning about this.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index c672d8dd41..010a636027 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -38,9 +38,9 @@ #include "config.h" #if SIZEOF_PID_T == 4 -# define PID_FMT "%" PRIu32 +# define PID_FMT "%" PRIi32 #elif SIZEOF_PID_T == 2 -# define PID_FMT "%" PRIu16 +# define PID_FMT "%" PRIi16 #else # error Unknown pid_t size #endif |