mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-19 12:35:52 -04:00
one less warning
This commit is contained in:
parent
9bc781c891
commit
ca62280043
@ -1359,7 +1359,7 @@ ReturnCode Socket_SetBlocking(SocketHandle socket, bool blocking) {
|
||||
|
||||
|
||||
ReturnCode Socket_GetError(SocketHandle socket, ReturnCode* result) {
|
||||
int resultSize = sizeof(ReturnCode);
|
||||
socklen_t resultSize = sizeof(ReturnCode);
|
||||
return getsockopt(socket, SOL_SOCKET, SO_ERROR, result, &resultSize);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user