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 freemaster
parent
ef37b9b888
commit
9dd542f4fb
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue