From a4d1c9f0417e25b0aac937f07edf2bb642b84f09 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sun, 5 Mar 2017 09:51:21 +0000 Subject: [PATCH] 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. --- src/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat.h b/src/compat.h index fca6e6101..e76ab94c8 100644 --- a/src/compat.h +++ b/src/compat.h @@ -48,7 +48,7 @@ #endif #ifndef WIN32 -typedef u_int SOCKET; +typedef unsigned int SOCKET; #include "errno.h" #define WSAGetLastError() errno #define WSAEINVAL EINVAL