From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Mon, 4 Dec 2017 06:43:25 +0000 (+0800) Subject: Fix a VS 2015 compiler warning. X-Git-Tag: json-c-0.13-20171207~16^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7709cb135514b518a6d9490b646029e43be23e52;p=thirdparty%2Fjson-c.git Fix a VS 2015 compiler warning. In VS 2015, the warning text is "warning C4550: expression evaluates to a function which is missing an argument list". --- diff --git a/json_object.h b/json_object.h index 9105d4a8..215c2914 100644 --- a/json_object.h +++ b/json_object.h @@ -1009,7 +1009,7 @@ json_c_shallow_copy_fn json_c_shallow_copy_default; * or if the destination pointer is non-NULL */ -JSON_EXPORT int json_object_deep_copy(struct json_object *src, struct json_object **dst, json_c_shallow_copy_fn shallow_copy); +JSON_EXPORT int json_object_deep_copy(struct json_object *src, struct json_object **dst, json_c_shallow_copy_fn *shallow_copy); #ifdef __cplusplus } #endif