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

Summary: use socklen_t in places
Product: SDL_net Reporter: C.W. Betts <computers57>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P2 CC: computers57
Version: 1.2.7   
Hardware: All   
OS: All   
Attachments: redefine two ints to socklen_t
redefine two ints to socklen_t and declare socklen_t if not

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