X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fc%2B%2B%2Fbinding-wrap.hpp;h=0a5a5e2572d0ba472a9da7a8486609f6716cb560;hb=e9a9f95aab36dd73037024e5450d2ecd6da959af;hp=f6f427b3629a0710ef4268b008b0f24a7cc4d7e1;hpb=25c9993e308852f1ff02d98d6585f21233859e82;p=src%2Fapp-framework-binder.git diff --git a/include/afb/c++/binding-wrap.hpp b/include/afb/c++/binding-wrap.hpp index f6f427b3..0a5a5e25 100644 --- a/include/afb/c++/binding-wrap.hpp +++ b/include/afb/c++/binding-wrap.hpp @@ -460,7 +460,7 @@ inline void call(const char *api, const char *verb, struct json_object *args, vo template inline void call(const char *api, const char *verb, struct json_object *args, void (*callback)(T*closure, struct json_object *result, const char *error, const char *info, afb_api_t api), T *closure) { - afb_service_call(api, verb, args, reinterpret_cast(callback), reinterpret_cast(closure)); + afb_service_call(api, verb, args, reinterpret_cast(callback), reinterpret_cast(closure)); } inline bool callsync(const char *api, const char *verb, struct json_object *args, struct json_object *&result, char *&error, char *&info)