[PATCH 4/8] ul.c: fix compier warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 text-utils/ul.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/text-utils/ul.c b/text-utils/ul.c
index 3f04d4b..05c8764 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);
 }
-- 
1.7.5

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux