Change unsigned to size_t
This commit is contained in:
parent
a9cfd5e8f6
commit
6eae3bc0dc
|
@ -35,7 +35,7 @@ int main() {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Convert 'out' to string
|
// Convert 'out' to string
|
||||||
for (unsigned i = 0; i < out.size(); i++) {
|
for (size_t i = 0; i < out.size(); i++) {
|
||||||
result << std::hex << (int)out[i];
|
result << std::hex << (int)out[i];
|
||||||
}
|
}
|
||||||
std::cout << result.str() << std::endl;
|
std::cout << result.str() << std::endl;
|
||||||
|
|
Loading…
Reference in New Issue