diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-17 17:27:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-17 17:27:13 -0700 |
commit | 428bd7074c3db7f9258294189a92f1ec19956c6e (patch) | |
tree | 474309d27387a35f04f6f19a4f6210ceaabfed12 /sysdeps/unix/sysv/linux/pselect.c | |
parent | 3e5aef87d76cfa7354f2b0d82b96e59280720796 (diff) | |
download | glibc-428bd7074c3db7f9258294189a92f1ec19956c6e.tar.gz glibc-428bd7074c3db7f9258294189a92f1ec19956c6e.tar.xz glibc-428bd7074c3db7f9258294189a92f1ec19956c6e.zip |
Use __syscall_ulong_t in pselect.c
Diffstat (limited to 'sysdeps/unix/sysv/linux/pselect.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/pselect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/pselect.c b/sysdeps/unix/sysv/linux/pselect.c index 8864d7806c..11aa7d1b03 100644 --- a/sysdeps/unix/sysv/linux/pselect.c +++ b/sysdeps/unix/sysv/linux/pselect.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2006-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2006. @@ -52,11 +52,11 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, be created. */ struct { - const sigset_t *ss; - size_t ss_len; + __syscall_ulong_t ss; + __syscall_ulong_t ss_len; } data; - data.ss = sigmask; + data.ss = (__syscall_ulong_t) (uintptr_t) sigmask; data.ss_len = _NSIG / 8; int result; |