summaryrefslogtreecommitdiff
path: root/utils.cc
diff options
context:
space:
mode:
authorAndrew de los Reyes <adlr@chromium.org>2010-04-15 14:02:17 -0700
committerAndrew de los Reyes <adlr@chromium.org>2010-04-15 14:02:17 -0700
commit08c4e27baaa7b40732b99642e1f21bf889d022ef (patch)
tree816583a62961b5caa1f1e13ba74e88ff070cf2c6 /utils.cc
parentb10320d4f76a2d263566f6eed471921382fae800 (diff)
update engine: 32- and 64-bit compile
Review URL: http://codereview.chromium.org/1599029
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);