oops - forgot to check for clean 64 bit build - fix compile time warning
This commit is contained in:
parent
fc05c67f12
commit
2c8721ecf3
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ parse_hi16 (cd, strp, opindex, valuep)
|
|||
if (**strp == '-')
|
||||
errmsg = cgen_parse_signed_integer (cd, strp, opindex, (long *) &value);
|
||||
else
|
||||
errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, &value);
|
||||
errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, (unsigned long *) &value);
|
||||
}
|
||||
*valuep = (long) (short) (value & 0xffff);
|
||||
return errmsg;
|
||||
|
@ -160,7 +160,7 @@ parse_lo16 (cd, strp, opindex, valuep)
|
|||
if (**strp == '-')
|
||||
errmsg = cgen_parse_signed_integer (cd, strp, opindex, (long *) &value);
|
||||
else
|
||||
errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, &value);
|
||||
errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, (unsigned long *) &value);
|
||||
*valuep = (long) (short) (value & 0xffff);
|
||||
return errmsg;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue