one less warning

This commit is contained in:
UnknownShadow200 2019-05-04 16:38:01 +10:00
parent 9bc781c891
commit ca62280043

View File

@ -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);
}