summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2013-05-24 11:35:15 +0000
committerJohn van Groningen2013-05-24 11:35:15 +0000
commitba92d6a9c99a4de70879cb592a978aa57473a226 (patch)
tree6419e624233f3609dfc3215b243a9e5cefcef655
parentadd makefiles for thread safe windows versions (diff)
fix a comparison for the stupid 64 bit compiler with a 32 bit long
-rw-r--r--cgcode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgcode.c b/cgcode.c
index c1cc6c2..64fed62 100644
--- a/cgcode.c
+++ b/cgcode.c
@@ -1156,7 +1156,11 @@ void code_buildI (CleanInt value)
{
INSTRUCTION_GRAPH graph_3,graph_4,graph_5;
+#ifndef G_A64
if (!parallel_flag && (unsigned long)value<(unsigned long)33){
+#else
+ if (!parallel_flag && (uint_64)value<(uint_64)33){
+#endif
if (small_integers_label==NULL)
small_integers_label=enter_label ("small_integers",IMPORT_LABEL | DATA_LABEL);