use unsigned long for ioctl commands (#705)

This commit is contained in:
Arvid Norberg 2016-05-06 08:08:49 -04:00
parent 985436636e
commit bcb359cef6
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ POSSIBILITY OF SUCH DAMAGE.
#if TORRENT_USE_IFADDRS || TORRENT_USE_IFCONF || TORRENT_USE_NETLINK || TORRENT_USE_SYSCTL
// capture this here where warnings are disabled (the macro generates warnings)
const int siocgifmtu = SIOCGIFMTU;
const unsigned long siocgifmtu = SIOCGIFMTU;
#endif
#include "libtorrent/aux_/disable_warnings_pop.hpp"