more -Wall warning fixes. -Wall is enabled now.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user