| Summary: | use socklen_t in places | ||
|---|---|---|---|
| Product: | SDL_net | Reporter: | C.W. Betts <computers57> |
| Component: | misc | Assignee: | 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 |
||
Created attachment 441 [details]
redefine two ints to socklen_t and declare socklen_t if not
This is in, thanks! http://hg.libsdl.org/SDL_net/rev/375696cefaed |
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?