OSDN Git Service

* v850.c (print_operand): Fix format specifier warnings.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2003 22:39:21 +0000 (22:39 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2003 22:39:21 +0000 (22:39 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66890 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/v850/v850.c

index b0026a9..90edd04 100644 (file)
@@ -1,5 +1,7 @@
 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
        specifier warnings. 
 
index 9238824..e0fc724 100644 (file)
@@ -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)));