- bugfix to compile in msvc

This commit is contained in:
SoftCoder 2014-01-01 11:08:51 -08:00
parent 676a6071fa
commit 02cb5c235d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}