summaryrefslogtreecommitdiffstats
path: root/byterun/sys.c
diff options
context:
space:
mode:
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);