Merge pull request #2717 from rswindell/develop

Resolve win32 build Error C2440 with CALLBACK function decoration
This commit is contained in:
Roger Light 2023-01-05 16:42:14 +00:00 committed by GitHub
commit da56a3ea81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ static HANDLE timeout_h = NULL;
#endif
#ifdef WIN32
void timeout_cb(PVOID lpParameter, BOOLEAN TimerOrWaitFired)
void CALLBACK timeout_cb(PVOID lpParameter, BOOLEAN TimerOrWaitFired)
{
UNUSED(lpParameter);
UNUSED(TimerOrWaitFired);