Fix a compiler warning.

This commit is contained in:
christos 2003-08-14 16:49:37 +00:00
parent a6c91a4aa0
commit 7b11b526b4
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ ins_imms (const struct ia64_operand *self, ia64_insn value, ia64_insn *code)
static const char*
ins_immsu4 (const struct ia64_operand *self, ia64_insn value, ia64_insn *code)
{
if (value == (BFD_HOST_U_64_BIT) 0x100000000)
if (value == (BFD_HOST_U_64_BIT) 0x100000000ULL)
value = 0;
else
value = (((BFD_HOST_64_BIT)value << 32) >> 32);
@ -213,7 +213,7 @@ static const char*
ins_immsm1u4 (const struct ia64_operand *self, ia64_insn value,
ia64_insn *code)
{
if (value == (BFD_HOST_U_64_BIT) 0x100000000)
if (value == (BFD_HOST_U_64_BIT) 0x100000000ULL)
value = 0;
else
value = (((BFD_HOST_64_BIT)value << 32) >> 32);