From 6c7c1bdcfd6c306a900c92ea0c2eca75fc662052 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 28 Apr 2013 10:38:16 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@4557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/base64/base64.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'protocols/Skype/src/base64') diff --git a/protocols/Skype/src/base64/base64.cpp b/protocols/Skype/src/base64/base64.cpp index f9e4aae760..4cd1ebf007 100644 --- a/protocols/Skype/src/base64/base64.cpp +++ b/protocols/Skype/src/base64/base64.cpp @@ -2,10 +2,10 @@ char Base64::CharBase64[] = { - 'A','B','C','D','E','F','G','H','I','J','K','L','M ','N','O','P', - 'Q','R','S','T','U','V','W','X','Y','Z','a','b','c ','d','e','f', - 'g','h','i','j','k','l','m','n','o','p','q','r','s ','t','u','v', - 'w','x','y','z','0','1','2','3','4','5','6','7','8 ','9','+','/' + 'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P', + 'Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f', + 'g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v', + 'w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/' }; ULONG Base64::Encode(const char *inputString, char *outputBuffer, SIZE_T nMaxLength) @@ -15,7 +15,8 @@ ULONG Base64::Encode(const char *inputString, char *outputBuffer, SIZE_T nMaxLen for (unsigned int i = 0; i < ::strlen(inputString); i += 3) { - if (outpos + 4 >= (int)nMaxLength)break; + if (outpos + 4 >= (int)nMaxLength) + break; chr[0] = inputString[i]; chr[1] = inputString[i+1]; -- cgit v1.2.3