2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * fr30.c (fr30_print_operand): Fix format specifier warnings.
+
* dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
val &= 0xff;
- fprintf (file, "%d", val);
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, val);
}
return;
|| INTVAL (x) > 32)
output_operand_lossage ("fr30_print_operand: invalid %%x code");
else
- fprintf (file, "%d", INTVAL (x) - 16);
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x) - 16);
return;
case 'F':
debug_rtx (x);
output_operand_lossage ("fr30_print_operand: unhandled MEM");
}
- fprintf (file, "@(r14, #%d)", val);
+ fprintf (file, "@(r14, #" HOST_WIDE_INT_PRINT_DEC ")", val);
}
else
{
debug_rtx (x);
output_operand_lossage ("fr30_print_operand: unhandled MEM");
}
- fprintf (file, "@(r15, #%d)", val);
+ fprintf (file, "@(r15, #" HOST_WIDE_INT_PRINT_DEC ")", val);
}
break;