Issue #842 - fix one particular sign conversion warning.

There are many others that show up if we were to add -Wsign-conversions,
but this is the only one using a literal constant.
This commit is contained in:
Eric Haszlakiewicz
2023-11-30 13:59:13 +00:00
parent 33337523f5
commit 407ddb4350

View File

@@ -231,7 +231,7 @@ int json_pointer_get_internal(struct json_object *obj, const char *path,
res->parent = NULL;
res->obj = obj;
res->key_in_parent = NULL;
res->index_in_parent = -1;
res->index_in_parent = UINT32_MAX;
return 0;
}