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

@@ -53,8 +53,8 @@ void test_array_del_idx(void);
void test_array_del_idx()
{
int rc;
int ii;
int orig_array_len;
size_t ii;
size_t orig_array_len;
json_object *my_array;
#ifdef TEST_FORMATTED
int sflags = 0;
@@ -105,7 +105,7 @@ void test_array_del_idx()
int main(int argc, char **argv)
{
json_object *my_string, *my_int, *my_object, *my_array;
int i;
size_t i;
#ifdef TEST_FORMATTED
int sflags = 0;
#endif