diff options
author | Andreas Schwab <aschwab@redhat.com> | 2009-06-16 13:04:18 +0200 |
---|---|---|
committer | Andreas Schwab <aschwab@redhat.com> | 2009-06-16 13:04:18 +0200 |
commit | 8a598439b93552cb666ab3cf63a5ff8aabd06260 (patch) | |
tree | 50934cb3f9879206cc36e9c80516ef7eb956719c /misc | |
parent | c38262349f9ad25d708e47a6715e94d87aa924ce (diff) | |
parent | 837dea7cf54827d6e43d88a9463bcc10d30472d0 (diff) | |
download | glibc-8a598439b93552cb666ab3cf63a5ff8aabd06260.tar.gz |
Merge branch 'master' of sourceware.org:/git/glibc into fedora/master
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sys/select.h | 4 |
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)) |