Browse Source

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

cr-0x5f1
Alan Modra 20 years ago
parent
commit
7c6646cd4b
  1. 2
      opcodes/ChangeLog
  2. 2
      opcodes/avr-dis.c

2
opcodes/ChangeLog

@ -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>

2
opcodes/avr-dis.c

@ -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;

Loading…
Cancel
Save