summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/php_sockets_win.h')
-rw-r--r--ext/sockets/php_sockets_win.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/php_sockets_win.h b/ext/sockets/php_sockets_win.h
index 0d855c7e5d..5f725764f7 100644
--- a/ext/sockets/php_sockets_win.h
+++ b/ext/sockets/php_sockets_win.h
@@ -42,7 +42,7 @@
#define close(a) closesocket(a)
#define CMSG_DATA(cmsg) ((cmsg)->cmsg_data)
-typedef long ssize_t;
+typedef int ssize_t;
struct sockaddr_un {
short sun_family;