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
This commit is contained in:
Kaveh R. Ghazi 2003-05-16 20:57:04 +00:00 committed by Kaveh Ghazi
parent 0baa170258
commit 5f1ed3b248
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
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.

View File

@ -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);
} }

View File

@ -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. */