summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2012-09-10 00:19:12 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2012-09-10 01:35:38 +0400
commit167917abe5c7aa69da9543c579ba93a0eaae5eed (patch)
tree12d8b8f4c97e8cdd3d82f163fe3e4dbe91b0d947 /parser.c
parent315d049646efe36773380a03826c8589d24b2692 (diff)
downloadnasm-167917abe5c7aa69da9543c579ba93a0eaae5eed.tar.gz
nasm-167917abe5c7aa69da9543c579ba93a0eaae5eed.tar.bz2
nasm-167917abe5c7aa69da9543c579ba93a0eaae5eed.zip
opflags: Extend opflags_t to 64 bits
Soon we will need to encode 512 bits values thus there is no space left in our opflags_t which is 32 bitfield. Extend it to 64 bits width. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
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 aa2df24..889adf3 100644
--- a/parser.c
+++ b/parser.c
@@ -884,7 +884,7 @@ is_expression:
}
}
} else { /* it's a register */
- unsigned int rs;
+ opflags_t rs;
if (value->type >= EXPR_SIMPLE || value->value != 1) {
nasm_error(ERR_NONFATAL, "invalid operand type");