Fix compatibility with old compiler versions.
This commit is contained in:
parent
26a4175e70
commit
5e7efa154b
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ void AkVCam::BaseFilterPrivate::devicesChanged(void *userData,
|
|||
UNUSED(devices);
|
||||
AkLogFunction();
|
||||
std::vector<HWND> handlers;
|
||||
EnumWindows(enumWindowsProc, LPARAM(&handlers));
|
||||
EnumWindows(WNDENUMPROC(enumWindowsProc), LPARAM(&handlers));
|
||||
|
||||
for (auto &handler: handlers)
|
||||
SendMessage(handler, WM_DEVICECHANGE, DBT_DEVNODES_CHANGED, 0);
|
||||
|
|
Loading…
Reference in a new issue