From 0d9484c5ad47e319a075c5c091634b8adc3b9412 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 16 Dec 1999 18:12:10 +0100 Subject: [PATCH] sparc.c (print_operand): Cast fprintf arguments to match the format. * config/sparc/sparc.c (print_operand): Cast fprintf arguments to match the format. From-SVN: r30981 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6d8982..d2a6582 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-12-16 Jakub Jelinek + + * config/sparc/sparc.c (print_operand): Cast fprintf arguments + to match the format. + 1999-12-16 David S. Miller * expr.c (emit_move_insn_1): Only emit clobbers if one of diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 98bc402..ee2c974 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -5512,10 +5512,10 @@ print_operand (file, x, code) || GET_MODE_CLASS (GET_MODE (x)) == MODE_INT)) { if (CONST_DOUBLE_HIGH (x) == 0) - fprintf (file, "%u", CONST_DOUBLE_LOW (x)); + fprintf (file, "%u", (unsigned int) CONST_DOUBLE_LOW (x)); else if (CONST_DOUBLE_HIGH (x) == -1 && CONST_DOUBLE_LOW (x) < 0) - fprintf (file, "%d", CONST_DOUBLE_LOW (x)); + fprintf (file, "%d", (int) CONST_DOUBLE_LOW (x)); else output_operand_lossage ("long long constant not a valid immediate operand"); } -- 2.7.4