mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
regflag() should return int32_t.
This commit is contained in:
parent
52daec56f9
commit
0ec60e69d9
@ -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()");
|
||||
|
Loading…
Reference in New Issue
Block a user