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

Unified Diff: net/base/network_interfaces_unittest.cc

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 months 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
Index: net/base/network_interfaces_unittest.cc
diff --git a/net/base/network_interfaces_unittest.cc b/net/base/network_interfaces_unittest.cc
index 4cc2f545599147afe51f298d0fde3327c04f8cf2..c30ff10753ae80afe1d476f5079ab064a671de3a 100644
--- a/net/base/network_interfaces_unittest.cc
+++ b/net/base/network_interfaces_unittest.cc
@@ -649,9 +649,9 @@ bool read_int_or_bool(DWORD data_size,
PVOID data) {
switch (data_size) {
case 1:
- return !!*reinterpret_cast<uint8*>(data);
+ return !!*reinterpret_cast<uint8_t*>(data);
case 4:
- return !!*reinterpret_cast<uint32*>(data);
+ return !!*reinterpret_cast<uint32_t*>(data);
default:
LOG(FATAL) << "That is not a type I know!";
return false;

Powered by Google App Engine
This is Rietveld 408576698