Browse Source

Issue #641: Add a cast to void * to address some theoretically undefined printf behavior.

tags/json-c-0.15-20200726
Eric Haszlakiewicz 5 years ago
parent
commit
6542d33cd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_object.c

+ 1
- 1
json_object.c View File

@@ -1635,7 +1635,7 @@ static int json_object_copy_serializer_data(struct json_object *src, struct json
{
_json_c_set_last_err(
"json_object_deep_copy: unable to copy unknown serializer data: %p\n",
dst->_to_json_string);
(void *)dst->_to_json_string);
return -1;
}
dst->_user_delete = src->_user_delete;


Loading…
Cancel
Save