We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 872 - use socklen_t in places
Summary: use socklen_t in places
Status: RESOLVED FIXED
Alias: None
Product: SDL_net
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.7
Hardware: All All
: P2 trivial
Assignee: Sam Lantinga
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 00:44 UTC by C.W. Betts
Modified: 2011-02-17 12:53 UTC (History)
1 user (show)

See Also:


Attachments
redefine two ints to socklen_t (628 bytes, application/octet-stream)
2009-11-02 00:44 UTC, C.W. Betts
Details
redefine two ints to socklen_t and declare socklen_t if not (1.00 KB, patch)
2009-11-02 00:47 UTC, C.W. Betts
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description C.W. Betts 2009-11-02 00:44:36 UTC
Created attachment 440 [details]
redefine two ints to socklen_t

I noticed when compiling SDL_net that the compiler was complaining about
pointer target having a different signedness.  Curious, I compiled it using
Clang and found that two functions were expecting a pointer to socklen_t.  

Perhaps a change from int to socklen_t on those two functions?
Comment 1 C.W. Betts 2009-11-02 00:47:11 UTC
Created attachment 441 [details]
redefine two ints to socklen_t and declare socklen_t if not
Comment 2 Sam Lantinga 2011-02-17 12:53:57 UTC
This is in, thanks!
http://hg.libsdl.org/SDL_net/rev/375696cefaed