mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 06:01:17 +02:00
- bugfix to compile in msvc
This commit is contained in:
@@ -99,7 +99,7 @@ void DisablePacketThrottling() {
|
||||
|
||||
DWORD disableThrottle = 0xffffffff;
|
||||
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user