From 1a000805780978abd34d842ddb57bf10bc6857e5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jul 2019 19:22:18 +0300 Subject: warning fix --- protocols/JabberG/src/jabber_vcard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/JabberG/src/jabber_vcard.cpp b/protocols/JabberG/src/jabber_vcard.cpp index 8133b31746..80674a1625 100644 --- a/protocols/JabberG/src/jabber_vcard.cpp +++ b/protocols/JabberG/src/jabber_vcard.cpp @@ -564,7 +564,7 @@ static INT_PTR CALLBACK EditEmailDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, if (email != nullptr) SetDlgItemTextA(hwndDlg, IDC_EMAIL, email); - mir_snprintf(idstr, "e-mailFlag%d", lParam); + mir_snprintf(idstr, "e-mailFlag%d", (int)lParam); WORD nFlag = dat->ppro->getWord(idstr, 0); if (nFlag & JABBER_VCEMAIL_HOME) CheckDlgButton(hwndDlg, IDC_HOME, BST_CHECKED); if (nFlag & JABBER_VCEMAIL_WORK) CheckDlgButton(hwndDlg, IDC_WORK, BST_CHECKED); -- cgit v1.2.3