about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-21 22:14:05 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-21 22:14:05 -0500
commit4920765eb417431261367bf65f1a8a5ffb78baf7 (patch)
tree2109d6f2454b673f3c0ff645cf11fb016ebef21a /sysdeps/unix/sysv/linux/sys
parente3a851a21bb69a4b18065dd859a724cfd984d8b3 (diff)
downloadglibc-4920765eb417431261367bf65f1a8a5ffb78baf7.tar.gz
glibc-4920765eb417431261367bf65f1a8a5ffb78baf7.tar.xz
glibc-4920765eb417431261367bf65f1a8a5ffb78baf7.zip
Define EPOLLONESHOT and EPOLLET using unsigned values
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/epoll.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/epoll.h b/sysdeps/unix/sysv/linux/sys/epoll.h
index ca1d3d0459..f23db922e6 100644
--- a/sysdeps/unix/sysv/linux/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/sys/epoll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2009, 2011 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
@@ -65,9 +65,9 @@ enum EPOLL_EVENTS
 #define EPOLLHUP EPOLLHUP
     EPOLLRDHUP = 0x2000,
 #define EPOLLRDHUP EPOLLRDHUP
-    EPOLLONESHOT = (1 << 30),
+    EPOLLONESHOT = 1u << 30,
 #define EPOLLONESHOT EPOLLONESHOT
-    EPOLLET = (1 << 31)
+    EPOLLET = 1u << 31
 #define EPOLLET EPOLLET
   };