diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-03-05 09:51:21 +0000 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-03-05 09:51:21 +0000 |
| commit | a4d1c9f0417e25b0aac937f07edf2bb642b84f09 (patch) | |
| tree | 229c08eb86d54ea7f2605a608cbb1fbb447720e2 /src | |
| parent | build: cleanup: define MSG_DONTWAIT/MSG_NO_SIGNAL locally (diff) | |
| download | discoin-a4d1c9f0417e25b0aac937f07edf2bb642b84f09.tar.xz discoin-a4d1c9f0417e25b0aac937f07edf2bb642b84f09.zip | |
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')
| -rw-r--r-- | src/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |