* avr-dis.c (avr_operand): Warning fix.

This commit is contained in:
Alan Modra 2006-04-19 02:15:05 +00:00
parent abe6ac950c
commit 7c6646cd4b
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2006-04-19 Alan Modra <amodra@bigpond.net.au>
* avr-dis.c (avr_operand): Warning fix.
* configure: Regenerate.
2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>

View File

@ -142,7 +142,7 @@ avr_operand (unsigned int insn, unsigned int insn2, unsigned int pc, int constra
/* See PR binutils/2545. Ideally we would like to display the hex
value of the address only once, but this would mean recoding
objdump_print_address() which would affect many targets. */
sprintf (buf, "%#lx", * sym_addr);
sprintf (buf, "%#lx", (unsigned long ) *sym_addr);
sprintf (comment, "0x");
break;