Commit 77ee43db authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build with GCC 8 when tunnel is enabled.

parent ee897edb
...@@ -420,8 +420,9 @@ void TunnelManager::onIterate(){ ...@@ -420,8 +420,9 @@ void TunnelManager::onIterate(){
} }
/*invoked from linphone_core_iterate() */ /*invoked from linphone_core_iterate() */
void TunnelManager::sOnIterate(TunnelManager *zis){ bool_t TunnelManager::sOnIterate(TunnelManager *zis){
zis->onIterate(); zis->onIterate();
return TRUE;
} }
LinphoneTunnelMode TunnelManager::getMode() const { LinphoneTunnelMode TunnelManager::getMode() const {
......
...@@ -205,7 +205,7 @@ namespace belledonnecomm { ...@@ -205,7 +205,7 @@ namespace belledonnecomm {
static int customRecvfrom(struct _RtpTransport *t, mblk_t *msg, int flags, struct sockaddr *from, socklen_t *fromlen); static int customRecvfrom(struct _RtpTransport *t, mblk_t *msg, int flags, struct sockaddr *from, socklen_t *fromlen);
static void tunnelCallback(bool connected, void *zis); static void tunnelCallback(bool connected, void *zis);
static void tunnelCallback2(TunnelDirection direction, bool connected, void *zis); static void tunnelCallback2(TunnelDirection direction, bool connected, void *zis);
static void sOnIterate(TunnelManager *zis); static bool_t sOnIterate(TunnelManager *zis);
static void sUdpMirrorClientCallback(bool result, void* data); static void sUdpMirrorClientCallback(bool result, void* data);
static void networkReachableCb(LinphoneCore *lc, bool_t reachable); static void networkReachableCb(LinphoneCore *lc, bool_t reachable);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment