summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-10-13 12:28:14 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-10-13 12:29:01 -0700
commitf8563f7a987cd7b0d274d8895ece27fd475b319f (patch)
tree25aa0a5eff3ac35f8cf3439bdebed9461bc02974 /disasm.c
parent970b1012ee4bf62b15a658775d2adaa81579ea7b (diff)
downloadnasm-f8563f7a987cd7b0d274d8895ece27fd475b319f.tar.gz
nasm-f8563f7a987cd7b0d274d8895ece27fd475b319f.tar.bz2
nasm-f8563f7a987cd7b0d274d8895ece27fd475b319f.zip
opflags: more int32_t -> opflags_t conversions
Hopefully this should catch all of them... but please keep an eye out for any other uses of int32_t for the operand flags. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm.c b/disasm.c
index 6a2554b..ede485a 100644
--- a/disasm.c
+++ b/disasm.c
@@ -110,7 +110,7 @@ static uint64_t getu64(uint8_t *data)
#define gets64(x) ((int64_t)getu64(x))
/* Important: regval must already have been adjusted for rex extensions */
-static enum reg_enum whichreg(int32_t regflags, int regval, int rex)
+static enum reg_enum whichreg(opflags_t regflags, int regval, int rex)
{
if (!(regflags & (REGISTER|REGMEM)))
return 0; /* Registers not permissible?! */