summaryrefslogtreecommitdiff
path: root/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils.cc')
-rw-r--r--utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.cc b/utils.cc
index e1ed8747..ff3c9db5 100644
--- a/utils.cc
+++ b/utils.cc
@@ -80,7 +80,7 @@ void HexDumpArray(const unsigned char* const arr, const size_t length) {
reinterpret_cast<const unsigned char* const>(arr);
LOG(INFO) << "Logging array of length: " << length;
const unsigned int bytes_per_line = 16;
- for (size_t i = 0; i < length; i += bytes_per_line) {
+ for (uint32_t i = 0; i < length; i += bytes_per_line) {
const unsigned int bytes_remaining = length - i;
const unsigned int bytes_per_this_line = min(bytes_per_line,
bytes_remaining);