From 67a4d8a0e0725cf7c87e26f153f69107c62a9df1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 27 Jun 2017 22:13:50 +0300 Subject: fix for 64-bit pointers --- plugins/TabSRMM/src/chat_log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/chat_log.cpp b/plugins/TabSRMM/src/chat_log.cpp index 068868cff7..cda3695494 100644 --- a/plugins/TabSRMM/src/chat_log.cpp +++ b/plugins/TabSRMM/src/chat_log.cpp @@ -731,7 +731,7 @@ char* Log_CreateRTF(LOGSTREAMDATA *streamData) } // create new line, and set font and color str.AppendFormat("\\ql\\sl0%s ", pci->Log_SetStyle(0)); - str.AppendFormat("\\v~-+%d+-~\\v0 ", lin); + str.AppendFormat("\\v~-+%p+-~\\v0 ", lin); // Insert icon if (g_Settings.bLogSymbols) // use symbols @@ -952,7 +952,7 @@ void CChatRoomDlg::StreamInEvents(LOGINFO *lin, bool bRedraw) // this uses hidden marks in the rich text to find the events which should be deleted if (m_si->bTrimmed) { wchar_t szPattern[50]; - mir_snwprintf(szPattern, L"~-+%d+-~", m_si->pLogEnd); + mir_snwprintf(szPattern, L"~-+%p+-~", m_si->pLogEnd); FINDTEXTEX fi; fi.lpstrText = szPattern; -- cgit v1.2.3