diff --git a/src/network/net.c b/src/network/net.c index 6233601..59b6620 100644 --- a/src/network/net.c +++ b/src/network/net.c @@ -33,7 +33,7 @@ typedef SSIZE_T ssize_t; #ifdef _WIN32 typedef SOCKET sockfd_t; -typedef int sockret_t; +typedef size_t sockret_t; #define INVALID_RETURN_VALUE SOCKET_ERROR #else typedef int sockfd_t;