Skip to content

Commit 0673c80

Browse files
committed
upd
1 parent 509ed70 commit 0673c80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=StringUtils
2-
version=1.5.0
2+
version=1.5.1
33
author=AlexGyver <alex@alexgyver.ru>
44
maintainer=AlexGyver <alex@alexgyver.ru>
55
sentence=Bunch of converting functions for string data

src/utils/convert/b64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ size_t decode(void* data, const void* b64, size_t len) {
113113
size_t val = 0, idx = 0;
114114
int8_t valb = -8;
115115

116-
for (int32_t i = 0; i < len; i++) {
116+
for (size_t i = 0; i < len; i++) {
117117
if (((const char*)b64)[i] == '=') break;
118118
val = (val << 6) + decodeChar(((const char*)b64)[i]);
119119
valb += 6;

0 commit comments

Comments
 (0)