public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13538] New: EPOLLET defined as 1<<31  and should be defined as 1U<<31
@ 2011-12-21 19:50 erez.strauss at baml dot com
  2011-12-22  3:15 ` [Bug libc/13538] " drepper.fsp at gmail dot com
  2014-06-27 11:21 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: erez.strauss at baml dot com @ 2011-12-21 19:50 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/13538] EPOLLET defined as 1<<31  and should be defined as 1U<<31
  2011-12-21 19:50 [Bug libc/13538] New: EPOLLET defined as 1<<31 and should be defined as 1U<<31 erez.strauss at baml dot com
@ 2011-12-22  3:15 ` drepper.fsp at gmail dot com
  2014-06-27 11:21 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-12-22  3:15 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13538

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-22 03:15:09 UTC ---
I checked in a patch.

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/13538] EPOLLET defined as 1<<31  and should be defined as 1U<<31
  2011-12-21 19:50 [Bug libc/13538] New: EPOLLET defined as 1<<31 and should be defined as 1U<<31 erez.strauss at baml dot com
  2011-12-22  3:15 ` [Bug libc/13538] " drepper.fsp at gmail dot com
@ 2014-06-27 11:21 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 11:21 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13538

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-27 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 19:50 [Bug libc/13538] New: EPOLLET defined as 1<<31 and should be defined as 1U<<31 erez.strauss at baml dot com
2011-12-22  3:15 ` [Bug libc/13538] " drepper.fsp at gmail dot com
2014-06-27 11:21 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).