From 18448e7014c32235db05465f1bf76b30f9954029 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Jan 2014 23:33:35 +0000 Subject: GCDEST::pszModule and GCDEST::ptszID must be constant git-svn-id: http://svn.miranda-ng.org/main/trunk@7586 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/chat/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver/src/chat/window.cpp') diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 5b0c23519a..50930e362e 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -1576,8 +1576,8 @@ LABEL_SHOWWINDOW: GCHOOK *gch = (GCHOOK *)lParam; NotifyEventHooks(hSendEvent, 0, (WPARAM)gch); if (gch->pDest) { - mir_free(gch->pDest->ptszID); - mir_free(gch->pDest->pszModule); + mir_free((void*)gch->pDest->ptszID); + mir_free((void*)gch->pDest->pszModule); mir_free(gch->pDest); } mir_free(gch->ptszText); -- cgit v1.2.3