libobs: fix warning when logging the cpu speed

Speed is a DWORD and should be printed as %ld.  This will keep mingw
happy and warning free
master
martell 2015-02-05 03:46:44 +00:00 committed by jp9000
parent ef37b9b888
commit 9dd542f4fb
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ static void log_processor_info(void)
status = RegQueryValueExW(key, L"~MHz", NULL, NULL, (LPBYTE)&speed,
&size);
if (status == ERROR_SUCCESS)
blog(LOG_INFO, "CPU Speed: %dMHz", speed);
blog(LOG_INFO, "CPU Speed: %ldMHz", speed);
RegCloseKey(key);
}