[project @ 2005-07-12 12:09:44 by simonmar]
authorsimonmar <unknown>
Tue, 12 Jul 2005 12:09:44 +0000 (12:09 +0000)
committersimonmar <unknown>
Tue, 12 Jul 2005 12:09:44 +0000 (12:09 +0000)
64 bit fix

ghc/rts/Interpreter.c

index 95759d0..4599552 100644 (file)
@@ -577,7 +577,8 @@ do_apply:
        }           
 
        case BCO: {
-           nat arity, i;
+           nat arity;
+           int i; // arithmetic involving i might go negative below
 
            Sp++;
            arity = ((StgBCO *)obj)->arity;