summaryrefslogtreecommitdiff
path: root/sockcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sockcompat.h')
-rw-r--r--sockcompat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sockcompat.h b/sockcompat.h
index 56006c1..9249d5e 100644
--- a/sockcompat.h
+++ b/sockcompat.h
@@ -51,7 +51,7 @@
#include <stddef.h>
#ifdef _MSC_VER
-typedef signed long ssize_t;
+typedef long long ssize_t;
#endif
/* Emulate the parts of the BSD socket API that we need (override the winsock signatures). */