Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Unified Diff: chrome/test/logging/win/mof_data_parser.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/logging/win/mof_data_parser.h ('k') | chrome/test/logging/win/mof_data_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/logging/win/mof_data_parser.cc
diff --git a/chrome/test/logging/win/mof_data_parser.cc b/chrome/test/logging/win/mof_data_parser.cc
index 027cf1f6576abed896643a30a6518f23d7b5a24e..a766c2f2afd9bb06b9c57dd618f7f3d277db4fdf 100644
--- a/chrome/test/logging/win/mof_data_parser.cc
+++ b/chrome/test/logging/win/mof_data_parser.cc
@@ -7,13 +7,12 @@
namespace logging_win {
MofDataParser::MofDataParser(const EVENT_TRACE* event)
- : scan_(reinterpret_cast<const uint8*>(event->MofData)),
- length_(event->MofLength) {
-}
+ : scan_(reinterpret_cast<const uint8_t*>(event->MofData)),
+ length_(event->MofLength) {}
bool MofDataParser::ReadString(base::StringPiece* value) {
- const uint8* str_scan = scan_;
- const uint8* const str_end = str_scan + length_;
+ const uint8_t* str_scan = scan_;
+ const uint8_t* const str_end = str_scan + length_;
while (str_scan < str_end && *str_scan != 0)
++str_scan;
if (str_scan == str_end)
« no previous file with comments | « chrome/test/logging/win/mof_data_parser.h ('k') | chrome/test/logging/win/mof_data_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698