X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fc%2B%2B%2Fbinding-wrap.hpp;h=f94d1bc56375372bef16a93c89bf348293cf6dc2;hb=33ddfb569b0fb223e212408ab3994bdae70861d7;hp=9a9ad85cda4cf65691faadcb8a2b3c51f22e5606;hpb=3aa80df989dc52a010a40b247975fd779a43157f;p=src%2Fapp-framework-binder.git diff --git a/include/afb/c++/binding-wrap.hpp b/include/afb/c++/binding-wrap.hpp index 9a9ad85c..f94d1bc5 100644 --- a/include/afb/c++/binding-wrap.hpp +++ b/include/afb/c++/binding-wrap.hpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2019 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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) ); }