summaryrefslogtreecommitdiffstats
path: root/byterun/intext.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-07-30 12:28:31 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-07-30 12:28:31 +0000
commitd7f93706ae462b9f27de36d80805fcca11a61692 (patch)
tree747fc1cc7907f9cb7bd1483409e0997b30cf075d /byterun/intext.h
parent2f183944fe0c296ee7671cd99dfe0562d244b3fa (diff)
Nettoyage des types de code_checksum
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/intext.h')
-rw-r--r--byterun/intext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/intext.h b/byterun/intext.h
index 9fc88d348..9fa67cac2 100644
--- a/byterun/intext.h
+++ b/byterun/intext.h
@@ -75,7 +75,7 @@
any value below 2^N - (2^N / (2 * sizeof(value))) suffices.
We just take 2^(N-1) for simplicity. */
-#define INITIAL_OFFSET_MAX (1L << (8 * sizeof(value) - 1))
+#define INITIAL_OFFSET_MAX (1UL << (8 * sizeof(value) - 1))
/* The entry points */
@@ -84,7 +84,7 @@ value input_value P((struct channel * chan));
value input_value_from_string P((value str, value ofs));
/* Auxiliary stuff for sending code pointers */
-char * code_checksum P((void));
+unsigned char * code_checksum P((void));
#ifndef NATIVE_CODE
#include "fix_code.h"