projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify unsigned integer usage in the API
[jansson.git]
/
test
/
suites
/
api
/
test_copy.c
diff --git
a/test/suites/api/test_copy.c
b/test/suites/api/test_copy.c
index
54c1d28
..
e4705f4
100644
(file)
--- a/
test/suites/api/test_copy.c
+++ b/
test/suites/api/test_copy.c
@@
-174,7
+174,7
@@
static void test_copy_array(void)
const char *json_array_text = "[1, \"foo\", 3.141592, {\"foo\": \"bar\"}]";
json_t *array, *copy;
const char *json_array_text = "[1, \"foo\", 3.141592, {\"foo\": \"bar\"}]";
json_t *array, *copy;
-
unsigned in
t i;
+
size_
t i;
array = json_loads(json_array_text, NULL);
if(!array)
array = json_loads(json_array_text, NULL);
if(!array)
@@
-203,7
+203,7
@@
static void test_deep_copy_array(void)
const char *json_array_text = "[1, \"foo\", 3.141592, {\"foo\": \"bar\"}]";
json_t *array, *copy;
const char *json_array_text = "[1, \"foo\", 3.141592, {\"foo\": \"bar\"}]";
json_t *array, *copy;
-
unsigned in
t i;
+
size_
t i;
array = json_loads(json_array_text, NULL);
if(!array)
array = json_loads(json_array_text, NULL);
if(!array)