diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-08-24 22:26:51 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-08-24 22:26:51 +0000 |
commit | c3bef1a9430d4ee0997c14cb1734597e69b0c520 (patch) | |
tree | 95b67b047ec78bc6513ebe3894acefdc7fd0264e | |
parent | 405bfc410e0fc22205ee372bfeb91920f26cbd0f (diff) | |
download | gcc-c3bef1a9430d4ee0997c14cb1734597e69b0c520.zip gcc-c3bef1a9430d4ee0997c14cb1734597e69b0c520.tar.gz gcc-c3bef1a9430d4ee0997c14cb1734597e69b0c520.tar.bz2 |
* sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
From-SVN: r45166
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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. 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. */ |