mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 06:31:19 +02:00
- bugfix to compile in msvc
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user