regflag() should return int32_t.
authorH. Peter Anvin <hpa@zytor.com>
Sat, 7 Jul 2007 01:59:52 +0000 (01:59 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 7 Jul 2007 01:59:52 +0000 (01:59 +0000)
assemble.c

index 0c63eb9..8194baf 100644 (file)
@@ -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()");