X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fc%2B%2B%2Fbinding-wrap.hpp;h=f94d1bc56375372bef16a93c89bf348293cf6dc2;hb=refs%2Ftags%2Flamprey%2F12.1.15;hp=a998469057f94271370b95484468392cdef94d7a;hpb=65353dce81a629e042800bb7b86fcd869a76727e;p=src%2Fapp-framework-binder.git diff --git a/include/afb/c++/binding-wrap.hpp b/include/afb/c++/binding-wrap.hpp index a9984690..f94d1bc5 100644 --- a/include/afb/c++/binding-wrap.hpp +++ b/include/afb/c++/binding-wrap.hpp @@ -21,6 +21,7 @@ #include #include #include +#include /* ensure version */ #ifndef AFB_BINDING_VERSION @@ -782,7 +783,7 @@ constexpr afb_verb_t verb( session, auth, glob, - (void*)(&callback) + *(void**)(&callback) ); }