]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define EPOLLONESHOT and EPOLLET using unsigned values for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 22 Dec 2011 13:05:21 +0000 (13:05 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 22 Dec 2011 13:05:21 +0000 (13:05 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/sys/epoll.h

index 9d79aea6db12e265d3a505ad881a01899e7c5c29..2779bed10461abddbb059b10624ffa7efd87f953 100644 (file)
@@ -1,3 +1,9 @@
+2011-12-22  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #13538]
+       * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
+       (EPOLLET): Initialize with unsigned values.
+
 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
index 6d2ec8edf089704d0d59f5260f3f86b02ce69804..51a657a5b50574c2c0a0c59eb52efba9c7fbce9e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2006, 2007, 2008, 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
   };