1
0
mirror of https://github.com/DaveGamble/cJSON synced 2025-01-11 09:19:41 +00:00

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

This commit is contained in:
Max Bruckner 2017-03-18 13:22:08 +01:00
parent a1b37d0abe
commit 4ec6e76ea2

View File

@ -50,7 +50,7 @@ static void print_number_should_print_negative_integers(void)
{ {
assert_print_number("-1", -1); assert_print_number("-1", -1);
assert_print_number("-32768", -32768); 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) static void print_number_should_print_positive_integers(void)