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.
This commit is contained in:
Ian Lance Taylor
2000-02-22 07:25:46 +00:00
parent 52454417c7
commit 0e69fcbcf4
4 changed files with 17 additions and 6 deletions

View File

@ -260,8 +260,10 @@ tahoe_find_call (parent, p_lowpc, p_highpc)
* 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)
{