Commit 5f1ed3b2 by Kaveh R. Ghazi Committed by Kaveh Ghazi

dsp16xx.c (print_operand_address): Fix format specifier warning.

	* dsp16xx.c (print_operand_address): Fix format specifier warning.
	* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.

From-SVN: r66882
parent 0baa1702
2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
* c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
specifier warnings. specifier warnings.
......
...@@ -1938,7 +1938,7 @@ print_operand_address(file, addr) ...@@ -1938,7 +1938,7 @@ print_operand_address(file, addr)
default: default:
if (FITS_5_BITS (addr)) if (FITS_5_BITS (addr))
fprintf (file, "*(0x%x)", (INTVAL (addr) & 0x20)); fprintf (file, "*(0x%x)", (int)(INTVAL (addr) & 0x20));
else else
output_addr_const (file, addr); output_addr_const (file, addr);
} }
......
...@@ -130,7 +130,7 @@ extern GTY(()) rtx dsp16xx_lshrhi3_libcall; ...@@ -130,7 +130,7 @@ extern GTY(()) rtx dsp16xx_lshrhi3_libcall;
/* Include path is determined from the environment variable */ /* Include path is determined from the environment variable */
#define INCLUDE_DEFAULTS \ #define INCLUDE_DEFAULTS \
{ \ { \
{ 0, 0, 0 } \ { 0, 0, 0, 0, 0 } \
} }
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
......
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