From 2cb97e09243a3c50b9b7caa94974d01c6dbe2ceb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 22 Dec 2023 14:07:12 +0300 Subject: warning fix --- protocols/JabberG/src/jabber_userinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG') diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp index 5b991fa908..e4cd046a4f 100644 --- a/protocols/JabberG/src/jabber_userinfo.cpp +++ b/protocols/JabberG/src/jabber_userinfo.cpp @@ -291,7 +291,7 @@ class JabberUserInfoDlg : public JabberBaseUserInfoDlg if (jcb & it->jcbCap) { char szDescription[1024]; if (it->szDescription) - mir_snprintf(szDescription, "%s (%s)", TranslateU(it->szDescription), it->szFeature); + mir_snprintf(szDescription, "%s (%s)", TranslateU(it->szDescription), it->szFeature.get()); else strncpy_s(szDescription, it->szFeature, _TRUNCATE); FillInfoLine(htiCaps, nullptr, nullptr, szDescription, sttInfoLineId(resource, INFOLINE_CAPS, i++)); -- cgit v1.2.3