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 /gcc/config/ns32k | |
parent | b94709e4f74e189d3dc84b310a535d91f8f241bc (diff) | |
download | gcc-3b8ac0e31bc89446cb151d1d8692fe2316a72fca.tar.gz |
* 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
Diffstat (limited to 'gcc/config/ns32k')
-rw-r--r-- | gcc/config/ns32k/ns32k.c | 6 |
1 files changed, 3 insertions, 3 deletions
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"); |