diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2017-12-04 18:17:52 -0500 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2017-12-04 18:17:52 -0500 |
commit | aedd36ac8b1254229c07e280164c477549c2f89f (patch) | |
tree | 1043ec30c1888f6cf06ebcfe8cbd97bd7fecd7c8 /json_object.h | |
parent | 95015d474e73dd0815ce7169066b4691b0295db9 (diff) | |
download | json-c-aedd36ac8b1254229c07e280164c477549c2f89f.tar.gz |
Make sure to include the "*" on function pointer arguments to avoid a warnings from VS2015. See also PR#384.
Diffstat (limited to 'json_object.h')
-rw-r--r-- | json_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json_object.h b/json_object.h index 215c291..83ce066 100644 --- a/json_object.h +++ b/json_object.h @@ -324,7 +324,7 @@ JSON_EXPORT void json_object_set_userdata(json_object *jso, void *userdata, * @param user_delete an optional function from freeing userdata */ JSON_EXPORT void json_object_set_serializer(json_object *jso, - json_object_to_json_string_fn to_string_func, + json_object_to_json_string_fn *to_string_func, void *userdata, json_object_delete_fn *user_delete); |