From: Jakub Jelinek Date: Thu, 16 Dec 1999 17:12:10 +0000 (+0100) Subject: sparc.c (print_operand): Cast fprintf arguments to match the format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d9484c5ad47e319a075c5c091634b8adc3b9412;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6d89828d6d..d2a65821335 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 98bc4022d6d..ee2c974b5bc 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"); }