summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-11 13:53:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-11 13:53:04 +0000
commit5f4dfea172962d33442546739976edf7023a1a7c (patch)
tree92d6e1ba9c4d47122effce9e6d82508039f1fe56 /plugins/Popup
parent95b2fb2835c60505cefcbbaeb9c53875b6687993 (diff)
attempt to discover the crash place in chats
git-svn-id: http://svn.miranda-ng.org/main/trunk@5651 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/popup_wnd2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp
index 15dadb8db6..1616aa3f4a 100644
--- a/plugins/Popup/src/popup_wnd2.cpp
+++ b/plugins/Popup/src/popup_wnd2.cpp
@@ -1182,7 +1182,7 @@ LRESULT CALLBACK PopupWnd2::WindowProc(UINT message, WPARAM wParam, LPARAM lPara
char* sztext;
if ((this->m_lpwzText) || (this->m_lpwzTitle))
{
- int size = _tcslen(this->m_lpwzText) + _tcslen(this->m_lpwzTitle) + 3;
+ size_t size = _tcslen(this->m_lpwzText) + _tcslen(this->m_lpwzTitle) + 3;
text = (TCHAR*)mir_alloc(size * sizeof(TCHAR));
mir_sntprintf(text, size, _T("%s\n\n%s"), this->m_lpwzTitle, this->m_lpwzText);
}