From: Steve Brokenshire Date: Mon, 3 Aug 2015 20:24:03 +0000 (+0100) Subject: Swapped int for size_t for the in_len variable. X-Git-Tag: release-0.05~91 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=09714ea39a998ca7ea6f35d500691ffc36fb8237 Swapped int for size_t for the in_len variable. --- 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;