From 5b3b0020dd6b3797a5808c7362e358df48bd4e49 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 Jun 2012 21:06:11 +0000 Subject: Scriver: plusified git-svn-id: http://svn.miranda-ng.org/main/trunk@591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/chat/services.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/Scriver/chat/services.cpp') diff --git a/plugins/Scriver/chat/services.cpp b/plugins/Scriver/chat/services.cpp index eb72218e7a..24aec8e9cc 100644 --- a/plugins/Scriver/chat/services.cpp +++ b/plugins/Scriver/chat/services.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "chat.h" #include "../msgwindow.h" -extern HANDLE g_hInst; extern HICON hIcons[30]; HANDLE hSendEvent; @@ -179,7 +178,7 @@ static INT_PTR Service_Register(WPARAM wParam, LPARAM lParam) mi->iMaxText= gcr->iMaxText; mi->nColorCount = gcr->nColors; if ( gcr->nColors > 0) { - mi->crColors = mir_alloc(sizeof(COLORREF) * gcr->nColors); + mi->crColors = (COLORREF *)mir_alloc(sizeof(COLORREF) * gcr->nColors); memcpy(mi->crColors, gcr->pColors, sizeof(COLORREF) * gcr->nColors); } -- cgit v1.2.3