Chromium Code Reviews| Index: src/platform/update_engine/utils.cc |
| diff --git a/src/platform/update_engine/utils.cc b/src/platform/update_engine/utils.cc |
| index e1ed8747fbf4cfde2a6fd9f9cf755a82134220e3..285b1e3ee39693cbc57114f28ef4bb3fc2404a39 100644 |
| --- a/src/platform/update_engine/utils.cc |
| +++ b/src/platform/update_engine/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 i = 0; i < length; i += bytes_per_line) { |
|
Daniel Erat
2010/04/15 00:55:47
uint32_t
|
| const unsigned int bytes_remaining = length - i; |
| const unsigned int bytes_per_this_line = min(bytes_per_line, |
| bytes_remaining); |