summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndreas Schwab <aschwab@redhat.com>2009-06-16 13:04:18 +0200
committerAndreas Schwab <aschwab@redhat.com>2009-06-16 13:04:18 +0200
commit8a598439b93552cb666ab3cf63a5ff8aabd06260 (patch)
tree50934cb3f9879206cc36e9c80516ef7eb956719c /misc
parentc38262349f9ad25d708e47a6715e94d87aa924ce (diff)
parent837dea7cf54827d6e43d88a9463bcc10d30472d0 (diff)
Merge branch 'master' of sourceware.org:/git/glibc into fedora/master
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 2a408433ec..f4a37be551 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -1,5 +1,5 @@
/* `fd_set' type and related macros, and `select'/`pselect' declarations.
- Copyright (C) 1996,97,98,99,2000,01,02,2003 Free Software Foundation, Inc.
+ Copyright (C) 1996-2003, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -59,7 +59,7 @@ typedef long int __fd_mask;
#undef __FDELT
#undef __FDMASK
/* It's easier to assume 8-bit bytes than to get CHAR_BIT. */
-#define __NFDBITS (8 * sizeof (__fd_mask))
+#define __NFDBITS (8 * (int) sizeof (__fd_mask))
#define __FDELT(d) ((d) / __NFDBITS)
#define __FDMASK(d) ((__fd_mask) 1 << ((d) % __NFDBITS))