This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13538] New: EPOLLET defined as 1<<31 and should be defined as 1U<<31
- From: "erez.strauss at baml dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 21 Dec 2011 19:49:57 +0000
- Subject: [Bug libc/13538] New: EPOLLET defined as 1<<31 and should be defined as 1U<<31
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13538
Bug #: 13538
Summary: EPOLLET defined as 1<<31 and should be defined as
1U<<31
Product: glibc
Version: 2.12
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: erez.strauss@baml.com
Classification: Unclassified
Please update the definition of the EPOLLET constant to be
(1U<<31)
instead of
(1<<31)
as compilers (intel) are generating the warning:
.... : warning #68: integer conversion resulted in a change of sign
unsigned m = EPOLLET;
^
The epoll events is defined as unsigned 32 bits.
Thank you.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.