summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-07-07 01:59:52 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-07-07 01:59:52 +0000
commit0ec60e69d9527b7516a690f0a209301d0425b632 (patch)
treec6e66ff6a13e04d30861319250e427c4aae66068 /assemble.c
parent52daec56f92a29f2bb011a5fd7f57b80caf73d77 (diff)
downloadnasm-0ec60e69d9527b7516a690f0a209301d0425b632.tar.gz
nasm-0ec60e69d9527b7516a690f0a209301d0425b632.tar.bz2
nasm-0ec60e69d9527b7516a690f0a209301d0425b632.zip
regflag() should return int32_t.
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assemble.c b/assemble.c
index 0c63eb9..8194baf 100644
--- a/assemble.c
+++ b/assemble.c
@@ -1459,7 +1459,7 @@ static void gencode(int32_t segment, int32_t offset, int bits,
}
}
-static int regflag(const operand * o)
+static int32_t regflag(const operand * o)
{
if (o->basereg < EXPR_REG_START || o->basereg >= REG_ENUM_LIMIT) {
errfunc(ERR_PANIC, "invalid operand passed to regflag()");