From cc0a92acd7d9630f1817fca63037caee876300da Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 9 Sep 2008 10:43:30 +0000 Subject: [PATCH] - finally kicked size_t, both calls return unsigned [r21776] --- ir/ir/iropt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index b4cf9fbcd..2f3346c85 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -1262,8 +1262,8 @@ restart: if (get_mode_arithmetic(n_mode) == irma_twos_complement && get_mode_arithmetic(a_mode) == irma_ieee754) { /* ConvI(ConvF(I)) -> I, iff float mantissa >= int mode */ - size_t int_mantissa = get_mode_size_bits(n_mode) - (mode_is_signed(n_mode) ? 1 : 0); - size_t float_mantissa = tarval_ieee754_get_mantissa_size(a_mode); + unsigned int_mantissa = get_mode_size_bits(n_mode) - (mode_is_signed(n_mode) ? 1 : 0); + unsigned float_mantissa = tarval_ieee754_get_mantissa_size(a_mode); if (float_mantissa >= int_mantissa) { n = b; -- 2.20.1