aboutsummaryrefslogtreecommitdiff
path: root/webrtc/base/trace_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/base/trace_event.h')
-rw-r--r--webrtc/base/trace_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/base/trace_event.h b/webrtc/base/trace_event.h
index c14cbff030..3916af4fb6 100644
--- a/webrtc/base/trace_event.h
+++ b/webrtc/base/trace_event.h
@@ -701,7 +701,7 @@ class TraceID {
explicit TraceID(const void* id, unsigned char* flags)
: data_(static_cast<unsigned long long>(
- reinterpret_cast<unsigned long>(id))) {
+ reinterpret_cast<uintptr_t>(id))) {
*flags |= TRACE_EVENT_FLAG_MANGLE_ID;
}
explicit TraceID(ForceMangle id, unsigned char* flags) : data_(id.data()) {