Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12 from Akvinikym/master
Browse files Browse the repository at this point in the history
Fix unneccessary unsigned int in the loop
  • Loading branch information
Warchant authored Jun 28, 2019
2 parents 9db5b34 + 3d02dc7 commit 65acec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ inline std::vector<uint8_t> operator"" _unhex(const char *c, size_t s) {

int len = hex.length();
std::string newString;
for (auto i = 0u; i < len; i += 2) {
for (auto i = 0; i < len; i += 2) {
std::string byte = hex.substr(i, 2);
char chr = (char)strtol(byte.c_str(), nullptr, 16);
v.push_back(chr);
Expand Down

0 comments on commit 65acec4

Please sign in to comment.