mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-26 11:53:52 +08:00
Merge pull request #2717 from rswindell/develop
Resolve win32 build Error C2440 with CALLBACK function decoration
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user