This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13538] New: EPOLLET defined as 1<<31 and should be defined as 1U<<31


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]