mirror of
https://github.com/akheron/jansson.git
synced 2025-04-07 06:25:02 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue