Skip to content

Commit 4ce618c

Browse files
committed
DisplayServer: fix win32 compatibility
1 parent 10b9976 commit 4ce618c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/displayserver/displayserver_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ typedef struct
1111
uint32_t height;
1212
} DataBundle;
1313

14-
static WINBOOL enumMonitorProc(HMONITOR hMonitor, FF_MAYBE_UNUSED HDC hDC, FF_MAYBE_UNUSED LPRECT rc, LPARAM lparam)
14+
static CALLBACK WINBOOL enumMonitorProc(HMONITOR hMonitor, FF_MAYBE_UNUSED HDC hDC, FF_MAYBE_UNUSED LPRECT rc, LPARAM lparam)
1515
{
1616
MONITORINFOEXW mi = { .cbSize = sizeof(mi) };
1717
DataBundle* data = (DataBundle*) lparam;

0 commit comments

Comments
 (0)