diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2005-09-22 14:21:50 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2005-09-22 14:21:50 +0000 |
commit | 3de54dec267abf845ca32bd1f6026834cc04d853 (patch) | |
tree | daa34de1fd38e86c2dd0c67896c3c5748511fe1c /otherlibs/win32unix/sendrecv.c | |
parent | 11524e2578b62fa30620121873aa372b180c0a74 (diff) |
Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/sendrecv.c')
-rw-r--r-- | otherlibs/win32unix/sendrecv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/win32unix/sendrecv.c b/otherlibs/win32unix/sendrecv.c index cbb8ff42b..773aa9260 100644 --- a/otherlibs/win32unix/sendrecv.c +++ b/otherlibs/win32unix/sendrecv.c @@ -27,7 +27,7 @@ static int msg_flag_table[] = { CAMLprim value unix_recv(value sock, value buff, value ofs, value len, value flags) { int ret; - long numbytes; + intnat numbytes; char iobuf[UNIX_BUFFER_SIZE]; Begin_root (buff); @@ -49,7 +49,7 @@ CAMLprim value unix_recv(value sock, value buff, value ofs, value len, value fla CAMLprim value unix_recvfrom(value sock, value buff, value ofs, value len, value flags) { int ret; - long numbytes; + intnat numbytes; char iobuf[UNIX_BUFFER_SIZE]; value res; value adr = Val_unit; @@ -82,7 +82,7 @@ CAMLprim value unix_recvfrom(value sock, value buff, value ofs, value len, value CAMLprim value unix_send(value sock, value buff, value ofs, value len, value flags) { int ret; - long numbytes; + intnat numbytes; char iobuf[UNIX_BUFFER_SIZE]; numbytes = Long_val(len); @@ -102,7 +102,7 @@ CAMLprim value unix_send(value sock, value buff, value ofs, value len, value fla value unix_sendto_native(value sock, value buff, value ofs, value len, value flags, value dest) { int ret; - long numbytes; + intnat numbytes; char iobuf[UNIX_BUFFER_SIZE]; union sock_addr_union addr; socklen_param_type addr_len; |