Fix a few places that needed adjustment for the size_t changes, including updating the range checks to use a calculated SIZE_T_MAX.

This commit is contained in:
Eric Haszlakiewicz
2016-05-23 02:10:58 +00:00
parent 9a2915ce66
commit 996be85843
8 changed files with 142 additions and 15 deletions

View File

@@ -537,7 +537,7 @@ extern struct json_object* json_object_array_get_idx(const struct json_object *o
* @param count the number of elements to delete
* @returns 0 if the elements were successfully deleted
*/
extern int json_object_array_del_idx(struct json_object *obj, int idx, int count);
extern int json_object_array_del_idx(struct json_object *obj, size_t idx, size_t count);
/* json_bool type methods */