Skip to content

Commit

Permalink
Switch int to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaivel committed May 29, 2024
1 parent 761c6d9 commit 39aecc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39aecc8

Please sign in to comment.