Commit 8745765a by Kaveh R. Ghazi Committed by Kaveh Ghazi

ns32k.c (ADJSP, [...]): Fix format specifier warnings.

	* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
	specifier warnings.

From-SVN: r66889
parent fd7b8952
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.
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment