diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-06-17 13:32:41 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-06-17 13:32:41 -0700 |
commit | 9c51ce9c40c1eadd20e943f74f0694a0a6a05ae1 (patch) | |
tree | 52c89b89aa45a5843b20ca668af415d90a6afe29 /osdep | |
parent | 97975402120d565dd211f9d470e7b192641712c5 (diff) | |
download | infinitytier-9c51ce9c40c1eadd20e943f74f0694a0a6a05ae1.tar.gz infinitytier-9c51ce9c40c1eadd20e943f74f0694a0a6a05ae1.zip |
Windows build fixes, fix double/float types to get rid of warnings.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/Binder.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/Binder.hpp b/osdep/Binder.hpp index 10ffbb06..bf7aef28 100644 --- a/osdep/Binder.hpp +++ b/osdep/Binder.hpp @@ -389,7 +389,7 @@ public: _bindings[_bindingCount].udpSock = udps; _bindings[_bindingCount].tcpListenSock = tcps; _bindings[_bindingCount].address = ii->first; - phy.setIfName(udps, (char*)ii->second.c_str(), ii->second.length()); + phy.setIfName(udps,(char*)ii->second.c_str(),(int)ii->second.length()); ++_bindingCount; } } else { |