summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2011-04-27 14:43:10 +0000
committerJohn van Groningen2011-04-27 14:43:10 +0000
commit15d4c790a8cad26dd301abdc677fdaf67d177261 (patch)
tree964cc339908b8e89ee76db5a8407bc1af0246993
parentadd rotl% and rotr% instructions (diff)
use CleanInt instead of LONG, to get 64 bit integers on 64 bit windows
-rw-r--r--cginput.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cginput.c b/cginput.c
index 3aaf37d..957bb1d 100644
--- a/cginput.c
+++ b/cginput.c
@@ -1213,7 +1213,8 @@ static int parse_instruction_c_n (InstructionP instruction)
static int parse_instruction_i_n (InstructionP instruction)
{
- LONG i,n;
+ CleanInt i;
+ LONG n;
if (!parse_integer (&i) || !parse_unsigned_integer (&n))
return 0;