]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 24 Aug 2001 22:26:51 +0000 (22:26 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 24 Aug 2001 22:26:51 +0000 (22:26 +0000)
From-SVN: r45166

gcc/ChangeLog
gcc/config/sparc/sparc.h

index f0b9efcfb56a1c743d26f8fdf68737131540c294..c49b0d33ded484360f01254891c9202378f95f90 100644 (file)
@@ -1,3 +1,7 @@
+2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
+
 2001-08-24  Andreas Jaeger  <aj@suse.de>, rkl@connect.org.uk
 
        * cp/rtti.c (VPARAMS): Fix parameter.
index 0e9e5151fe9aa64fb81622d3986b517827f889ea..1b7ce2721c9d6c2605d00ccd1b28c1dfe83e8f9b 100644 (file)
@@ -3064,7 +3064,7 @@ do {                                                                      \
 /* This is how to output an assembler line for a numeric constant byte.  */
 
 #define ASM_OUTPUT_BYTE(FILE,VALUE)  \
-  fprintf (FILE, "%s0x%x\n", ASM_BYTE_OP, (VALUE))
+  fprintf (FILE, "%s0x%x\n", ASM_BYTE_OP, (int)(VALUE))
 
 /* This is how we hook in and defer the case-vector until the end of
    the function.  */