Skip to content

Commit 4c8fc25

Browse files
committed
Fix zig warning - Win32 LONG
1 parent b59ddf1 commit 4c8fc25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11318,7 +11318,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
1131811318
GetWindowPlacement(hwnd, &wp);
1131911319
// Send new positions and dimensions
1132011320
char buffer[512] = {0x00};
11321-
WEBUI_SN_PRINTF_STATIC(buffer, sizeof(buffer), "%d,%d,%d,%d",
11321+
WEBUI_SN_PRINTF_STATIC(buffer, sizeof(buffer), "%ld,%ld,%ld,%ld",
1132211322
wp.rcNormalPosition.left, wp.rcNormalPosition.top, rect.right, rect.bottom);
1132311323
// Packet Protocol Format:
1132411324
// [...]

0 commit comments

Comments
 (0)