1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Use __syscall_ulong_t in pselect.c

This commit is contained in:
H.J. Lu
2012-05-17 17:27:13 -07:00
parent 3e5aef87d7
commit 428bd7074c
2 changed files with 7 additions and 4 deletions

View File

@ -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;