Skip to content

Commit a4d1c9f

Browse files
committed
compat: use unsigned int instead of u_int
`u_int` is not available on some platforms (not sure what standard it's supposed to be part of), we don't use it anywhere else, and it doesn't hurt to simply write `unsigned int` out here.
1 parent 25da1ee commit a4d1c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#endif
4949

5050
#ifndef WIN32
51-
typedef u_int SOCKET;
51+
typedef unsigned int SOCKET;
5252
#include "errno.h"
5353
#define WSAGetLastError() errno
5454
#define WSAEINVAL EINVAL

0 commit comments

Comments
 (0)