diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-27 22:52:32 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-27 22:52:32 +0000 |
commit | 46879a24aa0e45ec0ea1ddf27f28ce68edd5e561 (patch) | |
tree | bd52507c2ef8398cfd12c74f9d573a468e5ee86c /ContactsPlus/receive.cpp | |
parent | cf83705a2e83691e6271fdffac93e0632fd301da (diff) |
another part of small project fixes
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@224 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'ContactsPlus/receive.cpp')
-rw-r--r-- | ContactsPlus/receive.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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
|