From 4ec6e76ea2eec16f54b58e8c95b4c734e59481e4 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sat, 18 Mar 2017 13:22:08 +0100 Subject: [PATCH] tests: print_number: Fix build on 32bit ppc (and potentially others) --- tests/print_number.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/print_number.c b/tests/print_number.c index b478049..0908f88 100644 --- a/tests/print_number.c +++ b/tests/print_number.c @@ -50,7 +50,7 @@ static void print_number_should_print_negative_integers(void) { assert_print_number("-1", -1); assert_print_number("-32768", -32768); - assert_print_number("-2147483648", -2147483648); + assert_print_number("-2147483648", -2147483648.0); } static void print_number_should_print_positive_integers(void)