summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/write.c')
-rw-r--r--otherlibs/win32unix/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/win32unix/write.c b/otherlibs/win32unix/write.c
index 862e50791..8c255e11a 100644
--- a/otherlibs/win32unix/write.c
+++ b/otherlibs/win32unix/write.c
@@ -22,7 +22,7 @@
CAMLprim value unix_write(value fd, value buf, value vofs, value vlen)
{
- long ofs, len, written;
+ intnat ofs, len, written;
DWORD numbytes, numwritten;
char iobuf[UNIX_BUFFER_SIZE];
@@ -65,7 +65,7 @@ CAMLprim value unix_write(value fd, value buf, value vofs, value vlen)
CAMLprim value unix_single_write(value fd, value buf, value vofs, value vlen)
{
- long ofs, len, written;
+ intnat ofs, len, written;
DWORD numbytes, numwritten;
char iobuf[UNIX_BUFFER_SIZE];