Index: rtl/win32/sockets.pp
===================================================================
--- rtl/win32/sockets.pp	(revision 744)
+++ rtl/win32/sockets.pp	(working copy)
@@ -26,7 +26,7 @@
   cuint16=word;
   cuint32=cardinal;
   size_t =cuint32;
-  ssize_t=cuint16;
+  ssize_t=Int64;
   cint   =longint;
   pcint  =^cint;
   tsocklen=cint;
