From: Sami Kerola Date: Sat, 30 Apr 2011 11:06:23 +0000 (+0200) Subject: ul.c: fix compier warnings X-Git-Tag: v2.20-rc1~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2afa872ffc68db8aca207b40a748c11db09d22ee;p=thirdparty%2Futil-linux.git ul.c: fix compier warnings Signed-off-by: Sami Kerola --- diff --git a/text-utils/ul.c b/text-utils/ul.c index fcc0f5bad7..d2f88cd810 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -325,7 +325,7 @@ void filter(FILE *f) obuf[col].c_width = w; for (i = 1; i < w; i++) obuf[col+i].c_width = -1; - } else if (obuf[col].c_char == c) { + } else if ((wint_t) obuf[col].c_char == c) { for (i = 0; i < w; i++) obuf[col+i].c_mode |= BOLD|mode; } else { @@ -625,7 +625,7 @@ needcol(int col) { } } -static void sig_handler(int signo) +static void sig_handler(int signo __attribute__ ((__unused__))) { _exit(EXIT_SUCCESS); }