* i386-pinsn.c (OP_E): Change %d to 0x%x for consistency.

This commit is contained in:
Jim Kingdon 1991-04-19 07:06:13 +00:00
parent 15a4241049
commit c93a350722
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Thu Apr 18 19:49:10 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
* i386-pinsn.c (OP_E): Change %d to 0x%x for consistency.
* putenv.c: New file
Makefile.dist: Add it to $(OBS).

View File

@ -1505,7 +1505,7 @@ OP_E (bytemode)
if (mod != 0 || rm == 5 || (havesib && base == 5))
{
sprintf (scratchbuf, "%d", disp);
sprintf (scratchbuf, "0x%x", disp);
oappend (scratchbuf);
}