diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-16 22:23:13 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-16 22:23:13 +0000 |
commit | 3b8ac0e31bc89446cb151d1d8692fe2316a72fca (patch) | |
tree | aa94e00cee5f9d31aa0336c526296de5f8375285 | |
parent | b94709e4f74e189d3dc84b310a535d91f8f241bc (diff) | |
download | ppe42-gcc-3b8ac0e31bc89446cb151d1d8692fe2316a72fca.tar.gz ppe42-gcc-3b8ac0e31bc89446cb151d1d8692fe2316a72fca.zip |
* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
specifier warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66889 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/ns32k/ns32k.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a594d85536..b0026a98072 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format + specifier warnings. + * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix format specifier warnings. diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index 153a6a32a2c..248e9b4f964 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -140,10 +140,10 @@ struct gcc_target targetm = TARGET_INITIALIZER; #if defined(IMMEDIATE_PREFIX) && IMMEDIATE_PREFIX #define ADJSP(FILE, N) \ - fprintf (FILE, "\tadjspd %c%d\n", IMMEDIATE_PREFIX, (N)) + fprintf (FILE, "\tadjspd %c" HOST_WIDE_INT_PRINT_DEC "\n", IMMEDIATE_PREFIX, (N)) #else #define ADJSP(FILE, N) \ - fprintf (FILE, "\tadjspd %d\n", (N)) + fprintf (FILE, "\tadjspd " HOST_WIDE_INT_PRINT_DEC "\n", (N)) #endif static void @@ -195,7 +195,7 @@ ns32k_output_function_prologue (file, size) } if (frame_pointer_needed) - fprintf (file, "],%d\n", size); + fprintf (file, "]," HOST_WIDE_INT_PRINT_DEC "\n", size); else if (g_regs_used) fprintf (file, "]\n"); |