From b1563cb65f1bf0cfcb1ce292f4d2bac65807afd5 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 1 Oct 2011 07:04:52 -0500 Subject: [PATCH] fixed 64 bit to 32 bit variable size mismatch warning in base64 encoder --- src/base64/base64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base64/base64.cpp b/src/base64/base64.cpp index 071b05cd38..f2b639b71a 100644 --- a/src/base64/base64.cpp +++ b/src/base64/base64.cpp @@ -82,7 +82,7 @@ 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(); + size_t in_len = encoded_string.size(); int i = 0; int j = 0; int in_ = 0;