From 0e7ac9a4609248663af76f202418dabf1c13efbe Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Mon, 27 Apr 2015 10:44:25 +0100 Subject: maint: fix printf format for signed integers With GCC 5 and the newly added warnings from gnulib, ensure the correct signed integer is passed for the printf format, to avoid -Werror=format= failures. --- src/kill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kill.c') diff --git a/src/kill.c b/src/kill.c index 49e6ef6e0..83016ed3c 100644 --- a/src/kill.c +++ b/src/kill.c @@ -109,8 +109,8 @@ PID is an integer; if negative it identifies a process group.\n\ maximum name width is NAME_WIDTH, and SIGNAME is the name to print. */ static void -print_table_row (unsigned int num_width, int signum, - unsigned int name_width, char const *signame) +print_table_row (int num_width, int signum, + int name_width, char const *signame) { char const *description = strsignal (signum); printf ("%*d %-*s %s\n", num_width, signum, name_width, signame, -- cgit v1.2.3-54-g00ecf