From f3d22ea361554a090112ccaeb4290d14964a283d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 27 Apr 2013 11:39:36 +0000 Subject: added instruction how to build skypekit libs cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/base64/base64.cpp | 6 +++--- protocols/Skype/src/skypekit/contact.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Skype/src') diff --git a/protocols/Skype/src/base64/base64.cpp b/protocols/Skype/src/base64/base64.cpp index d5d1558e50..f9e4aae760 100644 --- a/protocols/Skype/src/base64/base64.cpp +++ b/protocols/Skype/src/base64/base64.cpp @@ -15,7 +15,7 @@ ULONG Base64::Encode(const char *inputString, char *outputBuffer, SIZE_T nMaxLen for (unsigned int i = 0; i < ::strlen(inputString); i += 3) { - if (outpos + 4 >= nMaxLength)break; + if (outpos + 4 >= (int)nMaxLength)break; chr[0] = inputString[i]; chr[1] = inputString[i+1]; @@ -75,9 +75,9 @@ ULONG Base64::Decode(const char *inputString, char *outputBuffer, SIZE_T nMaxLen int outpos = 0; char chr[3], enc[4]; - for (int i = 0; i < ::strlen(inputString); i += 4) + for (int i = 0; i < (int)::strlen(inputString); i += 4) { - if (outpos+3 >= nMaxLength) break; + if (outpos+3 >= (int)nMaxLength) break; enc[0] = Base64::IndexBase64[inputString[i]]; enc[1] = Base64::IndexBase64[inputString[i+1]]; diff --git a/protocols/Skype/src/skypekit/contact.cpp b/protocols/Skype/src/skypekit/contact.cpp index 2030eba250..5cfecace38 100644 --- a/protocols/Skype/src/skypekit/contact.cpp +++ b/protocols/Skype/src/skypekit/contact.cpp @@ -35,7 +35,7 @@ bool CContact::GetFullname(SEString &firstName, SEString &lastName) SEString fullname; this->GetPropFullname(fullname); int pos = fullname.find(" "); - if (pos && pos < fullname.length()) + if (pos && pos < (int)fullname.length()) { firstName = fullname.substr(0, pos); lastName = fullname.right(pos); -- cgit v1.2.3