summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/parser.c b/parser.c
index 75bd344..681aa39 100644
--- a/parser.c
+++ b/parser.c
@@ -868,10 +868,9 @@ is_expression:
result->oprs[operand].type |= SBYTE16;
if ((uint64_t)v64 <= UINT64_C(0xffffffff))
result->oprs[operand].type |= UDWORD64;
- if (v64 >= -INT64_C(2147483648) &&
- v64 <= INT64_C(2147483647))
+ if (v64 >= -INT64_C(0x80000000) &&
+ v64 <= INT64_C(0x7fffffff))
result->oprs[operand].type |= SDWORD64;
-
}
}
} else { /* it's a register */