From 5599502a550a7f892d4b73dceb2105a6916f83e6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 18 May 2008 22:28:26 +0000 Subject: more -Wall warning fixes. -Wall is enabled now. --- libbb/xfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb/xfuncs.c') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 915b74dd1..fe3c647d0 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -262,7 +262,7 @@ off_t fdlength(int fd) /* It is perfectly ok to pass in a NULL for either width or for * height, in which case that value will not be set. */ -int get_terminal_width_height(int fd, int *width, int *height) +int get_terminal_width_height(int fd, unsigned *width, unsigned *height) { struct winsize win = { 0, 0, 0, 0 }; int ret = ioctl(fd, TIOCGWINSZ, &win); -- cgit v1.2.3