Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Swapped int for size_t for the in_len variable.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 3 Aug 2015 20:24:03 +0000 (21:24 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 3 Aug 2015 20:24:03 +0000 (21:24 +0100)
source/common/base64.cpp

index 2f85449..8686fa6 100644 (file)
@@ -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;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy