From 46879a24aa0e45ec0ea1ddf27f28ce68edd5e561 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sun, 27 Nov 2011 22:52:32 +0000 Subject: another part of small project fixes git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@224 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- ContactsPlus/receive.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ContactsPlus/receive.cpp') diff --git a/ContactsPlus/receive.cpp b/ContactsPlus/receive.cpp index 16c63e6..24caf66 100644 --- a/ContactsPlus/receive.cpp +++ b/ContactsPlus/receive.cpp @@ -228,7 +228,7 @@ INT_PTR CALLBACK RecvDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara for (int nItem = 0; ; nItem++) { // Nick - int strsize = strlennull(pcBlob); + int strsize = (int)strlennull(pcBlob); TReceivedItem* pItem = wndData->AddReceivedItem(); if (dbe.flags & DBEF_UTF) @@ -237,7 +237,7 @@ INT_PTR CALLBACK RecvDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara pItem->mcaNick = ansi_to_tchar(pcBlob); pcBlob += strsize + 1; // UIN - strsize = strlennull(pcBlob); + strsize = (int)strlennull(pcBlob); pItem->mcaUIN = null_strdup(pcBlob); pcBlob += strsize + 1; // add to listview -- cgit v1.2.3