Browse Source

Eliminate unnecessary cast that was added to test_double_serializer.

tags/json-c-0.15-20200726
Eric Haszlakiewicz 5 years ago
parent
commit
85c244f048
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/test_double_serializer.c

+ 1
- 1
tests/test_double_serializer.c View File

@@ -20,7 +20,7 @@ int main()
printf("obj.to_string(standard)=%s\n", json_object_to_json_string(obj));

printf("Test default serializer with custom userdata:\n");
((struct json_object *)obj)->_userdata = udata;
obj->_userdata = udata;
printf("obj.to_string(userdata)=%s\n", json_object_to_json_string(obj));

printf("Test explicit serializer with custom userdata:\n");


Loading…
Cancel
Save