diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-27 11:39:36 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-27 11:39:36 +0000 |
commit | f3d22ea361554a090112ccaeb4290d14964a283d (patch) | |
tree | c1c789232a52cfb6a0a8c00d796fdc54d68ebb59 /protocols/Skype/src/base64 | |
parent | c7fa62a343fe1e5937602c216ec5d7e597462768 (diff) |
added instruction how to build skypekit libs
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@4551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/base64')
-rw-r--r-- | protocols/Skype/src/base64/base64.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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]];
|