- bugfix to compile in msvc
This commit is contained in:
parent
676a6071fa
commit
02cb5c235d
|
@ -99,7 +99,7 @@ void DisablePacketThrottling() {
|
||||||
|
|
||||||
DWORD disableThrottle = 0xffffffff;
|
DWORD disableThrottle = 0xffffffff;
|
||||||
DWORD len = sizeof(disableThrottle);
|
DWORD len = sizeof(disableThrottle);
|
||||||
RegSetValueEx(keyHandle, l"NetworkThrottlingIndex", 0, REG_DWORD, &disableThrottle, len);
|
RegSetValueEx(keyHandle, L"NetworkThrottlingIndex", 0, REG_DWORD, (const BYTE*)&disableThrottle, len);
|
||||||
RegCloseKey(keyHandle);
|
RegCloseKey(keyHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue