summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorKeith Kanios <spook@dynatos.net>2007-04-16 04:56:06 +0000
committerKeith Kanios <spook@dynatos.net>2007-04-16 04:56:06 +0000
commit7a68f30dd7f4d7812771870c7c6cc74ce677ccce (patch)
tree190b99982353e156cbdf09082101e9d39a2888ad /parser.c
parent7cf03aff4fd5c53a7f70a4e339988a8ef9984932 (diff)
downloadnasm-7a68f30dd7f4d7812771870c7c6cc74ce677ccce.tar.gz
nasm-7a68f30dd7f4d7812771870c7c6cc74ce677ccce.tar.bz2
nasm-7a68f30dd7f4d7812771870c7c6cc74ce677ccce.zip
Fixed 64-bit offset generation.
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index a145bf1..54e1737 100644
--- a/parser.c
+++ b/parser.c
@@ -561,7 +561,7 @@ insn *parse_line(int pass, char *buffer, insn * result,
if (mref) { /* it's a memory reference */
expr *e = value;
int b, i, s; /* basereg, indexreg, scale */
- int32_t o; /* offset */
+ int64_t o; /* offset */
b = i = -1, o = s = 0;
result->oprs[operand].hintbase = hints.base;