X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Fbase64.cpp;h=8686fa6ecb38ccf9db7b51ffafba0c473666e4fa;hb=ea5f276a69989d4e5797b49083322bac2c9a820c;hp=2f854495cfc084f852518b421151ce3999387b33;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/common/base64.cpp b/source/common/base64.cpp index 2f85449..8686fa6 100644 --- a/source/common/base64.cpp +++ b/source/common/base64.cpp @@ -82,7 +82,10 @@ std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_ } std::string base64_decode(std::string const& encoded_string) { - int in_len = encoded_string.size(); +/* + Modified change: swapped 'int in_len' to 'size_t in_len' + */ + size_t in_len = encoded_string.size(); int i = 0; int j = 0; int in_ = 0;