aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-05 09:51:21 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-03-05 09:51:21 +0000
commita4d1c9f0417e25b0aac937f07edf2bb642b84f09 (patch)
tree229c08eb86d54ea7f2605a608cbb1fbb447720e2 /src/compat.h
parent25da1ee36cfb99f6ef60e7883952c2370c718725 (diff)
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.
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index fca6e6101a..e76ab94c82 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