+2000-02-22 Ian Lance Taylor <ian@zembu.com>
+
+ From Brad Lucier <lucier@math.purdue.edu>:
+ * i386.c (i386_find_call): Add cast to ensure that printf argument
+ matches format.
+ * tahoe.c (tahoe_find_call): Likewise.
+ * vax.c (vax_find_call): Likewise.
+
2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
* utils.c (print_name_only): Don't pass error strings to
if (i386_iscall (instructp))
{
DBG (CALLDEBUG,
- printf ("[findcall]\t0x%x:call",
- instructp - (unsigned char *) delta));
+ printf ("[findcall]\t0x%lx:call",
+ (unsigned long) (instructp - (unsigned char *) delta)));
/*
* regular pc relative addressing
* check that this is the address of
* maybe a callf, better check it out.
* skip the count of the number of arguments.
*/
- DBG (CALLDEBUG, printf ("[findcall]\t0x%x:callf",
- instructp - (unsigned char *) core_text_space));
+ DBG (CALLDEBUG, printf ("[findcall]\t0x%lx:callf",
+ ((unsigned long)
+ (instructp
+ - (unsigned char *) core_text_space))));
firstmode = tahoe_operandmode (instructp + length);
switch (firstmode)
{
* skip the count of the number of arguments.
*/
DBG (CALLDEBUG,
- printf ("[findcall]\t0x%x:calls",
- instructp - (unsigned char *) core_text_space));
+ printf ("[findcall]\t0x%lx:calls",
+ ((unsigned long)
+ (instructp - (unsigned char *) core_text_space))));
firstmode = vax_operandmode ((struct modebyte *) (instructp + length));
switch (firstmode)
{