diff options
author | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
commit | 083f699c30d584ac59453139e4f2e03d1fde0545 (patch) | |
tree | d9cc192ace03a9a0ef1c0e1705d5468ff3eb3489 /src/lib/codec | |
parent | af0cc3c7308d0f5320e82394590b0ca93f43c4d4 (diff) |
Fix various warnings from VC++ 2014 and add missing include
Diffstat (limited to 'src/lib/codec')
-rw-r--r-- | src/lib/codec/base64/base64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/codec/base64/base64.cpp b/src/lib/codec/base64/base64.cpp index b66478d2b..23c60fb35 100644 --- a/src/lib/codec/base64/base64.cpp +++ b/src/lib/codec/base64/base64.cpp @@ -168,8 +168,8 @@ size_t base64_decode(byte output[], { if(decode_buf_pos) { - for(size_t i = decode_buf_pos; i != 4; ++i) - decode_buf[i] = 0; + for(size_t j = decode_buf_pos; j != 4; ++j) + decode_buf[j] = 0; final_truncate = (4 - decode_buf_pos); decode_buf_pos = 4; } |