From 1599e6770ce65b76a0371d9ffe704d15f8ab6d1d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 1 Aug 2011 13:14:21 +0200 Subject: tunelp: fix compiler warnings [-Wsign-compare] Signed-off-by: Karel Zak --- sys-utils/tunelp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-utils/tunelp.c') diff --git a/sys-utils/tunelp.c b/sys-utils/tunelp.c index 0f22fd8c6..f1220ef4d 100644 --- a/sys-utils/tunelp.c +++ b/sys-utils/tunelp.c @@ -250,7 +250,7 @@ main (int argc, char ** argv) { if (retval < 0) perror(_("LPGETSTATUS error")); else { - if (status == 0xdeadbeef) /* a few 1.1.7x kernels will do this */ + if (status == (int) 0xdeadbeef) /* a few 1.1.7x kernels will do this */ status = retval; printf(_("%s status is %d"), filename, status); if (!(status & LP_PBUSY)) printf(_(", busy")); @@ -277,7 +277,7 @@ main (int argc, char ** argv) { perror(_("LPGETIRQ error")); exit(4); } - if (irq == 0xdeadbeef) /* up to 1.1.77 will do this */ + if (irq == (int) 0xdeadbeef) /* up to 1.1.77 will do this */ irq = retval; if (irq) printf(_("%s using IRQ %d\n"), filename, irq); -- cgit v1.2.3-55-g7522