mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 16:58:34 +00:00
Fixed a few warnings about signed and unsigned comparison.
This commit is contained in:
parent
99d041deb9
commit
e5fc25bbe8
2 changed files with 4 additions and 4 deletions
|
@ -94,7 +94,7 @@ std::string base64_encode(const char* in, size_t len)
|
|||
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
for (; i < len - 2; i += 3) {
|
||||
for (; i < static_cast<int>(len) - 2; i += 3) {
|
||||
const auto first = in[i];
|
||||
const auto second = in[i+1];
|
||||
const auto third = in[i+2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue