|
From e0c76c5ccf049d22bc47d723567926346e4d3639 Mon Sep 17 00:00:00 2001
|
|
From: Moritz Warning <moritzwarning@web.de>
|
|
Date: Sat, 21 Nov 2020 18:19:21 +0100
|
|
Subject: [PATCH 6/8] gcc10
|
|
|
|
---
|
|
osdep/Binder.hpp | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/osdep/Binder.hpp
|
|
+++ b/osdep/Binder.hpp
|
|
@@ -396,9 +396,9 @@ public:
|
|
}
|
|
#endif // __LINUX__
|
|
if (_bindingCount < ZT_BINDER_MAX_BINDINGS) {
|
|
- _bindings[_bindingCount].udpSock = udps;
|
|
- _bindings[_bindingCount].tcpListenSock = tcps;
|
|
- _bindings[_bindingCount].address = ii->first;
|
|
+ _bindings[(unsigned int)_bindingCount].udpSock = udps;
|
|
+ _bindings[(unsigned int)_bindingCount].tcpListenSock = tcps;
|
|
+ _bindings[(unsigned int)_bindingCount].address = ii->first;
|
|
phy.setIfName(udps,(char*)ii->second.c_str(),(int)ii->second.length());
|
|
++_bindingCount;
|
|
}
|