* simops.c (trace_result): Fix printf formatting.
authorAndrew Cagney <cagney@redhat.com>
Mon, 17 Jun 2002 21:49:05 +0000 (21:49 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 17 Jun 2002 21:49:05 +0000 (21:49 +0000)
sim/v850/ChangeLog
sim/v850/simops.c

index 15c1deed96193419a7db9019750d1d09581853c9..cb20ad5f8645ad7ad6b76554a3492132a20cbf68 100644 (file)
@@ -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.
index f6f43ee236884210e1755abd3e52f55c52f3f962..9a83d0796a2cabd2845c863e70933555542c865c 100644 (file)
@@ -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)
This page took 0.025423 seconds and 4 git commands to generate.