From 2afa872ffc68db8aca207b40a748c11db09d22ee Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 30 Apr 2011 13:06:23 +0200 Subject: [PATCH] ul.c: fix compier warnings Signed-off-by: Sami Kerola --- text-utils/ul.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.47.2