[quake3-bugzilla] [Bug 5672] New: net_ip.c:NET_Sleep(), incorrect type usage

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Tue Jun 19 03:52:42 EDT 2012


https://bugzilla.icculus.org/show_bug.cgi?id=5672

           Summary: net_ip.c:NET_Sleep(), incorrect type usage
           Product: ioquake3
           Version: SVN HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: sezeroz at gmail.com
         QAContact: quake3-bugzilla at icculus.org


Özkan Sezer <sezeroz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3229|0                           |1
           is patch|                            |
   Attachment #3229|application/octet-stream    |text/plain
          mime type|                            |

Created attachment 3229
  --> https://bugzilla.icculus.org/attachment.cgi?id=3229
NET_Sleep() socket tyep fixes

NET_Sleep() uses int type instead of SOCKET for highestfd and does incorrect
casts for comparisons.  While this would work on win32, it wouldn't do so on
win64 because SOCKET type is actually pointer sized. Trivial fix is attached.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list