Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6cfc76
)
Swapped int for size_t for the in_len variable.
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Mon, 3 Aug 2015 20:24:03 +0000
(21:24 +0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Mon, 3 Aug 2015 20:24:03 +0000
(21:24 +0100)
source/common/base64.cpp
patch
|
blob
|
history
diff --git
a/source/common/base64.cpp
b/source/common/base64.cpp
index
2f85449
..
8686fa6
100644
(file)
--- 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;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy