shared: fcntl uses int, not long
fcntl(2) manual says the return type is int, and that F_SETFD takes an int. So use int. Noticed by code inspection. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
77cf8cb006
commit
0260b8a0b5
|
@ -43,7 +43,7 @@
|
|||
int
|
||||
os_fd_set_cloexec(int fd)
|
||||
{
|
||||
long flags;
|
||||
int flags;
|
||||
|
||||
if (fd == -1)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue