Commit e0b3adcb by Kaveh R. Ghazi Committed by Kaveh Ghazi

* v850.c (print_operand): Fix format specifier warnings.

From-SVN: r66890
parent 8745765a
2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* v850.c (print_operand): Fix format specifier warnings.
* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
specifier warnings. specifier warnings.
......
...@@ -502,7 +502,7 @@ print_operand (file, x, code) ...@@ -502,7 +502,7 @@ print_operand (file, x, code)
abort (); abort ();
break; break;
case 'L': case 'L':
fprintf (file, "%d\n", INTVAL (x) & 0xffff); fprintf (file, "%d\n", (int)(INTVAL (x) & 0xffff));
break; break;
case 'M': case 'M':
fprintf (file, "%d", exact_log2 (INTVAL (x))); fprintf (file, "%d", exact_log2 (INTVAL (x)));
......
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