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

Unified Diff: base/win/event_trace_provider.h

Issue 1507413003: clang/win: Let some chromium_code targets build with -Wextra. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: content_browsertests 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 | « base/win/event_trace_controller_unittest.cc ('k') | base/win/event_trace_provider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/event_trace_provider.h
diff --git a/base/win/event_trace_provider.h b/base/win/event_trace_provider.h
index a87cb9c1cfd860d3898db1183fd63985bcd2cb6b..0775fafb652692870f151bbe210e75535ae548d2 100644
--- a/base/win/event_trace_provider.h
+++ b/base/win/event_trace_provider.h
@@ -67,7 +67,7 @@ template <size_t N> class EtwMofEvent: public EtwMofEventBase<N> {
header.Flags = WNODE_FLAG_TRACED_GUID | WNODE_FLAG_USE_MOF_PTR;
}
- void SetField(int field, size_t size, const void *data) {
+ void SetField(size_t field, size_t size, const void* data) {
// DCHECK(field < N);
if ((field < N) && (size <= std::numeric_limits<uint32_t>::max())) {
fields[field].DataPtr = reinterpret_cast<ULONG64>(data);
« no previous file with comments | « base/win/event_trace_controller_unittest.cc ('k') | base/win/event_trace_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698