/* if BITWISEAND then check if one of them is 0xff... */
/* if yes turn it into assignment */
{
- long val;
+ unsigned val;
switch (getSize (operandType (IC_RIGHT (ic))))
{
default:
return;
}
- if (((long) operandLitValue (IC_RIGHT (ic)) & val) == val)
+ if (((unsigned) operandLitValue (IC_RIGHT (ic)) & val) == val)
{
ic->op = '=';
IC_RIGHT (ic) = IC_LEFT (ic);
/* if BITWISEOR then check if one of them is 0xff... */
/* if yes turn it into 0xff... assignment */
{
- long val;
+ unsigned val;
switch (getSize (operandType (IC_RIGHT (ic))))
{
default:
return;
}
- if (((long) operandLitValue (IC_RIGHT (ic)) & val) == val)
+ if (((unsigned) operandLitValue (IC_RIGHT (ic)) & val) == val)
{
if (IS_OP_VOLATILE (IC_LEFT (ic)))
{