From 2ecc6ef9a20fa44978db0c151ed8a59e8e529716 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 25 Jan 2015 17:07:21 -0500 Subject: shared/util: use signed printf format for PIDs gcc 5 started warning about this. Signed-off-by: Anthony G. Basile --- src/shared/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/util.h') 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 -- cgit v1.2.3-54-g00ecf