| Kernel v2.3.48 /fs/fcntl.c |
|---|
 2.3.48
 fs
 fcntl.c
diff -u --recursive --new-file v2.3.47/linux/fs/fcntl.c linux/fs/fcntl.c
--- v2.3.47/linux/fs/fcntl.c Mon Oct 11 15:38:15 1999
+++ linux/fs/fcntl.c Sat Feb 26 20:46:44 2000
@@ -259,7 +259,7 @@
/* Table to convert sigio signal codes into poll band bitmaps */
-static int band_table[NSIGPOLL+1] = {
+static long band_table[NSIGPOLL+1] = {
~0,
POLLIN | POLLRDNORM, /* POLL_IN */
POLLOUT | POLLWRNORM | POLLWRBAND, /* POLL_OUT */
@@ -291,7 +291,7 @@
si.si_errno = 0;
si.si_code = reason;
if (reason < 0 || reason > NSIGPOLL)
- si.si_band = ~0;
+ si.si_band = ~0L;
else
si.si_band = band_table[reason];
si.si_fd = fa->fa_fd;
|