summaryrefslogtreecommitdiffstats
path: root/byterun/sys.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2005-09-22 14:21:50 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2005-09-22 14:21:50 +0000
commit3de54dec267abf845ca32bd1f6026834cc04d853 (patch)
treedaa34de1fd38e86c2dd0c67896c3c5748511fe1c /byterun/sys.c
parent11524e2578b62fa30620121873aa372b180c0a74 (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 'byterun/sys.c')
-rw-r--r--byterun/sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/sys.c b/byterun/sys.c
index c5f5c60e1..59c0be983 100644
--- a/byterun/sys.c
+++ b/byterun/sys.c
@@ -226,7 +226,7 @@ CAMLprim value caml_sys_system_command(value command)
CAMLparam1 (command);
int status, retcode;
char *buf;
- unsigned long len;
+ intnat len;
len = caml_string_length (command);
buf = caml_stat_alloc (len + 1);
@@ -264,7 +264,7 @@ CAMLprim value caml_sys_time(value unit)
CAMLprim value caml_sys_random_seed (value unit)
{
- long seed;
+ intnat seed;
#ifdef HAS_GETTIMEOFDAY
struct timeval tv;
gettimeofday(&tv, NULL);