summaryrefslogtreecommitdiffstats
path: root/byterun/misc.h
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/misc.h
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/misc.h')
-rw-r--r--byterun/misc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/byterun/misc.h b/byterun/misc.h
index bda864fc4..a1b2b9260 100644
--- a/byterun/misc.h
+++ b/byterun/misc.h
@@ -93,8 +93,8 @@ extern void caml_ext_table_free(struct ext_table * tbl, int free_entries);
/* GC flags and messages */
-extern unsigned long caml_verb_gc;
-void caml_gc_message (int, char *, unsigned long);
+extern uintnat caml_verb_gc;
+void caml_gc_message (int, char *, uintnat);
/* Memory routines */
@@ -103,10 +103,10 @@ char *caml_aligned_malloc (asize_t, int, void **);
#ifdef DEBUG
#ifdef ARCH_SIXTYFOUR
#define Debug_tag(x) (0xD700D7D7D700D6D7ul \
- | ((unsigned long) (x) << 16) \
- | ((unsigned long) (x) << 48))
+ | ((uintnat) (x) << 16) \
+ | ((uintnat) (x) << 48))
#else
-#define Debug_tag(x) (0xD700D6D7ul | ((unsigned long) (x) << 16))
+#define Debug_tag(x) (0xD700D6D7ul | ((uintnat) (x) << 16))
#endif /* ARCH_SIXTYFOUR */
/*