From f9aa39262af3135806fd118e0d6e71996571b31f Mon Sep 17 00:00:00 2001 From: ghazi Date: Fri, 24 Aug 2001 22:26:51 +0000 Subject: [PATCH] * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45166 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/sparc/sparc.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0b9efc..c49b0d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-08-24 Kaveh R. Ghazi + + * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning. + 2001-08-24 Andreas Jaeger , rkl@connect.org.uk * cp/rtti.c (VPARAMS): Fix parameter. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 0e9e515..1b7ce27 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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. */ -- 2.7.4