mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* simops.c (trace_result): Fix printf formatting.
This commit is contained in:
parent
ea1e7ef6e5
commit
d62274a397
@ -1,3 +1,7 @@
|
||||
2002-06-17 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* simops.c (trace_result): Fix printf formatting.
|
||||
|
||||
2002-06-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||
|
@ -211,7 +211,8 @@ trace_result (int has_result, unsigned32 result)
|
||||
int i;
|
||||
for (i = 0; i < trace_num_values; i++)
|
||||
{
|
||||
sprintf (chp, "%*s0x%.8lx", SIZE_VALUES - 10, "", trace_values[i]);
|
||||
sprintf (chp, "%*s0x%.8lx", SIZE_VALUES - 10, "",
|
||||
(long) trace_values[i]);
|
||||
chp = strchr (chp, '\0');
|
||||
}
|
||||
while (i++ < 3)
|
||||
|
Loading…
Reference in New Issue
Block a user