Skip to content

Commit b7ce927

Browse files
committed
Try to fix GHAction failure
typecast size_t to INT64 to match %lld
1 parent 0d96d93 commit b7ce927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dialogs/CollectionInterfaceDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ INT_PTR CALLBACK ciDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
159159
);
160160

161161
wchar_t msg[4096];
162-
swprintf_s(msg, L"Command: %s\n\nCode: %d\nDesc: [%lld]%s", cmd, errNum, size, messageBuffer);
162+
swprintf_s(msg, L"Command: %s\n\nCode: %d\nDesc: [%lld]%s", cmd, errNum, static_cast<INT64>(size), messageBuffer);
163163
::MessageBox(NULL, msg, L"Command Error", MB_ICONERROR);
164164

165165
LocalFree(messageBuffer);

0 commit comments

Comments
 (0)