From 344d2b00ea274f5df806556c8c276c1c4c47b088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20So=CC=88derberg?= Date: Wed, 27 Feb 2013 23:38:17 +0100 Subject: [PATCH] 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. --- test/suites/api/test_pack.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/suites/api/test_pack.c b/test/suites/api/test_pack.c index 44aa8aa..61c7409 100644 --- a/test/suites/api/test_pack.c +++ b/test/suites/api/test_pack.c @@ -26,7 +26,6 @@ static void run_tests() /* * Simple, valid json_pack cases */ - /* true */ value = json_pack("b", 1); if(!json_is_true(value))