summaryrefslogtreecommitdiff
path: root/gcc/config/fr30
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-16 21:03:04 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-16 21:03:04 +0000
commitd7d3ea4e02445135a2079d0d602169e5d5a85acb (patch)
treec3ef30775b92ec05e62788b9f0dbf47cc8a7adea /gcc/config/fr30
parent0e89329cd68048987377a3c99f9329affbcedb20 (diff)
downloadgcc-d7d3ea4e02445135a2079d0d602169e5d5a85acb.tar.gz
* fr30.c (fr30_print_operand): Fix format specifier warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/fr30')
-rw-r--r--gcc/config/fr30/fr30.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index 0c143b34224..1de1bfe8d6b 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -537,7 +537,7 @@ fr30_print_operand (file, x, code)
val &= 0xff;
- fprintf (file, "%d", val);
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, val);
}
return;
@@ -547,7 +547,7 @@ fr30_print_operand (file, x, code)
|| INTVAL (x) > 32)
output_operand_lossage ("fr30_print_operand: invalid %%x code");
else
- fprintf (file, "%d", INTVAL (x) - 16);
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x) - 16);
return;
case 'F':
@@ -609,7 +609,7 @@ fr30_print_operand (file, x, code)
debug_rtx (x);
output_operand_lossage ("fr30_print_operand: unhandled MEM");
}
- fprintf (file, "@(r14, #%d)", val);
+ fprintf (file, "@(r14, #" HOST_WIDE_INT_PRINT_DEC ")", val);
}
else
{
@@ -620,7 +620,7 @@ fr30_print_operand (file, x, code)
debug_rtx (x);
output_operand_lossage ("fr30_print_operand: unhandled MEM");
}
- fprintf (file, "@(r15, #%d)", val);
+ fprintf (file, "@(r15, #" HOST_WIDE_INT_PRINT_DEC ")", val);
}
break;