Fix incorrect cast to ssize_t.
gcc 4.2.1 warns about a possible incorrect cast to ssize_t when comparing against refcount, which is of type size_t. signed vs unsigned comparison. Sinc warnings are treated as errors (as in the autoconf project) this would cause a compile error.
This commit is contained in:
parent
52a8072727
commit
344d2b00ea
@ -26,7 +26,6 @@ static void run_tests()
|
||||
/*
|
||||
* Simple, valid json_pack cases
|
||||
*/
|
||||
|
||||
/* true */
|
||||
value = json_pack("b", 1);
|
||||
if(!json_is_true(value))
|
||||
|
Loading…
Reference in New Issue
Block a user