summaryrefslogtreecommitdiff
path: root/protocols/Twitter/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-10 10:44:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-10 10:44:04 +0000
commit8c2cf8fada9a01f749f6f96f177fdb1f590e5393 (patch)
treee3ad5464a1df2ab255102c477df2360f4aba6778 /protocols/Twitter/proto.cpp
parentddf46f560f63f43aedc6464edad759cc3a711d4b (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/proto.cpp')
-rw-r--r--protocols/Twitter/proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Twitter/proto.cpp b/protocols/Twitter/proto.cpp
index 420193fb81..b90b9b477b 100644
--- a/protocols/Twitter/proto.cpp
+++ b/protocols/Twitter/proto.cpp
@@ -149,7 +149,7 @@ HICON TwitterProto::GetIcon(int index)
int TwitterProto::RecvMsg(HANDLE hContact,PROTORECVEVENT *pre)
{
CCSDATA ccs = { hContact,PSR_MESSAGE,0,reinterpret_cast<LPARAM>(pre) };
- return CallService(MS_PROTO_RECVMSG,0,reinterpret_cast<LPARAM>(&ccs));
+ return (int)CallService(MS_PROTO_RECVMSG,0,reinterpret_cast<LPARAM>(&ccs));
}
// *************************
@@ -258,7 +258,7 @@ int TwitterProto::SvcCreateAccMgrUI(WPARAM wParam,LPARAM lParam)
int TwitterProto::GetName(WPARAM wParam,LPARAM lParam)
{
- lstrcpynA(reinterpret_cast<char*>(lParam),m_szProtoName,wParam);
+ lstrcpynA(reinterpret_cast<char*>(lParam), m_szProtoName, (int)wParam);
return 0;
}
@@ -516,7 +516,7 @@ int TwitterProto::LOG(const char *fmt,...)
mir_vsnprintf(text,sizeof(text),fmt,va);
va_end(va);
- return CallService(MS_NETLIB_LOG,(WPARAM)hNetlib_,(LPARAM)text);
+ return CallService(MS_NETLIB_LOG, (WPARAM)hNetlib_, (LPARAM)text);
}
int TwitterProto::WLOG(const char* first, const wstring last)