diff options
| author | Odd Stranne <odd@mullvad.net> | 2018-06-05 15:51:40 +0200 |
|---|---|---|
| committer | Odd Stranne <odd@mullvad.net> | 2018-06-18 08:45:16 +0200 |
| commit | 359cfcb25276f6b28218495b6f6cce4e248fb6ab (patch) | |
| tree | 0cf60c0281da4d9fa454394131185b703028cd8a | |
| parent | 0695b4bad811f27b60f74fe3ef54ac32ce615e92 (diff) | |
| download | mullvadvpn-359cfcb25276f6b28218495b6f6cce4e248fb6ab.tar.xz mullvadvpn-359cfcb25276f6b28218495b6f6cce4e248fb6ab.zip | |
Remove compilation warning that only appears sometimes :-(
| -rw-r--r-- | windows/windns/src/windns/netconfighelpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/windns/src/windns/netconfighelpers.cpp b/windows/windns/src/windns/netconfighelpers.cpp index 58677b30a1..f43f578a55 100644 --- a/windows/windns/src/windns/netconfighelpers.cpp +++ b/windows/windns/src/windns/netconfighelpers.cpp @@ -25,7 +25,7 @@ OptionalStringList GetDnsServers(CComPtr<IWbemClassObject> instance) uint32_t GetInterfaceIndex(CComPtr<IWbemClassObject> instance) { - return V_UI4(&ComGetPropertyAlways(instance, L"InterfaceIndex")); + return ComGetPropertyAlways(instance, L"InterfaceIndex").ulVal; } void SetDnsServers(uint32_t interfaceIndex, const std::vector<std::wstring> &servers) |
