diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-21 09:14:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-21 09:14:16 +0000 |
commit | e0dfb094e874c9492640f717edd05064873d5d28 (patch) | |
tree | b2fbe3f77613ba3c5ae0489d3d2399ab2bd9ed6c /protocols/MSN/src/msn_misc.cpp | |
parent | fe2371ce9bc89d4673a46163715268e640d2ce31 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@13728 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_misc.cpp')
-rw-r--r-- | protocols/MSN/src/msn_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp index 385bd72697..5683bdb389 100644 --- a/protocols/MSN/src/msn_misc.cpp +++ b/protocols/MSN/src/msn_misc.cpp @@ -751,7 +751,7 @@ int ThreadData::sendPacketPayload(const char* cmd, const char *param, const char va_start(vararg, fmt);
thisTrid = InterlockedIncrement(&mTrid);
- int regSz = proto->msnRegistration?strlen(proto->msnRegistration)+16:0;
+ int regSz = proto->msnRegistration ? (int)strlen(proto->msnRegistration)+16 : 0;
int paramStart = mir_snprintf(str, strsize, "%s %d %s ", cmd, thisTrid, param), strszstart = 0, strSz;
while ((strSz = mir_vsnprintf(str + paramStart, strsize - paramStart - regSz - 10, fmt, vararg)) == -1)
str = (char*)mir_realloc(str, strsize += 512);
|