cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit 4ec6e76ea2eec16f54b58e8c95b4c734e59481e4
parent a1b37d0abe1769664a2c0c3789ba0eb916988231
Author: Max Bruckner <max@maxbruckner.de>
Date:   Sat, 18 Mar 2017 13:22:08 +0100

tests: print_number: Fix build on 32bit ppc (and potentially others)

Diffstat:
Mtests/print_number.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)