diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-15 19:22:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-15 19:22:18 +0300 |
commit | 1a000805780978abd34d842ddb57bf10bc6857e5 (patch) | |
tree | 6a59012403f115015e9b9e2b0c716f0d9b3f31c3 | |
parent | 7dccdb7fa7acd2de4bd9dc6dd4558968c1be0599 (diff) |
warning fix
-rw-r--r-- | protocols/JabberG/src/jabber_vcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|