Fix bug in C++ wrapper
[src/app-framework-binder.git] / include / afb / c++ / binding-wrap.hpp
index a998469..9844a07 100644 (file)
@@ -782,7 +782,7 @@ constexpr afb_verb_t verb(
                session,
                auth,
                glob,
-               (void*)(&callback)
+               *(void**)(&callback)
        );
 }