OSDN Git Service

* sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Aug 2001 22:26:51 +0000 (22:26 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Aug 2001 22:26:51 +0000 (22:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45166 138bc75d-0d04-0410-961f-82ee72b054a4

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

index f0b9efc..c49b0d3 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 0e9e515..1b7ce27 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.  */