Browse Source

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.
tags/json-c-0.18-20240915
Eric Haszlakiewicz 1 year ago
parent
commit
407ddb4350
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_pointer.c

+ 1
- 1
json_pointer.c 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;
}



Loading…
Cancel
Save