projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e7443
)
Fix signedness warning in base64.cpp
author
Andreas Zwinkau
<qznc@go.to>
Wed, 4 Jul 2012 05:18:25 +0000
(07:18 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 21 Jul 2012 19:10:29 +0000
(22:10 +0300)
src/base64.cpp
patch
|
blob
|
history
diff --git
a/src/base64.cpp
b/src/base64.cpp
index 90d4de20321c29f87d0f5caa19c8d66822024392..728814b003dce0b7081168d2708f8b0b705d40de 100644
(file)
--- a/
src/base64.cpp
+++ b/
src/base64.cpp
@@
-40,7
+40,7
@@
static inline bool is_base64(unsigned char c) {
bool base64_is_valid(std::string const& s)
{
- for(
in
t i=0; i<s.size(); i++)
+ for(
size_
t i=0; i<s.size(); i++)
if(!is_base64(s[i])) return false;
return true;
}