From: Kaveh R. Ghazi Date: Fri, 16 May 2003 22:39:21 +0000 (+0000) Subject: * v850.c (print_operand): Fix format specifier warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0b3adcbe26e4338f02019a4d5c03e615425ed29;p=gcc.git * v850.c (print_operand): Fix format specifier warnings. From-SVN: r66890 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0026a98072..90edd040233 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2003-05-16 Kaveh R. Ghazi + * v850.c (print_operand): Fix format specifier warnings. + * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format specifier warnings. diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 9238824f5d0..e0fc724ecb0 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -502,7 +502,7 @@ print_operand (file, x, code) abort (); break; case 'L': - fprintf (file, "%d\n", INTVAL (x) & 0xffff); + fprintf (file, "%d\n", (int)(INTVAL (x) & 0xffff)); break; case 'M': fprintf (file, "%d", exact_log2 (INTVAL (x)));