mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
Fix VisualStudio warning C4245 in NetworkInterface.h
(#1823)
This commit is contained in:
parent
7bf53d4f3f
commit
fd1d113acb
@ -99,7 +99,7 @@ public:
|
|||||||
IPv4_OR_IPv6 /// Return interfaces with IPv4 or IPv6 address
|
IPv4_OR_IPv6 /// Return interfaces with IPv4 or IPv6 address
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned NO_INDEX = ~0;
|
static const unsigned NO_INDEX = ~(static_cast<unsigned>(0));
|
||||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||||
static const char MAC_SEPARATOR = '-';
|
static const char MAC_SEPARATOR = '-';
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user