summaryrefslogtreecommitdiff
path: root/gcc/config/v850
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-16 22:39:21 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-16 22:39:21 +0000
commit8c178e2a2fbd4c83d36af155f736ef40cfcbc728 (patch)
treeb12318035fdba93ed8040304d93866b6ad12a667 /gcc/config/v850
parent3b8ac0e31bc89446cb151d1d8692fe2316a72fca (diff)
downloadgcc-8c178e2a2fbd4c83d36af155f736ef40cfcbc728.tar.gz
* v850.c (print_operand): Fix format specifier warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/v850')
-rw-r--r--gcc/config/v850/v850.c2
1 files changed, 1 insertions, 1 deletions
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)));