From 285495cad655b0fee7de83420deefab041aa38d8 Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Sat, 29 Dec 2018 08:08:53 +0100 Subject: [PATCH] Fix warning causing error in warning as error (Windows) (#21697) --- src/vm/eventtrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/eventtrace.cpp b/src/vm/eventtrace.cpp index b578d81..a37fa92 100644 --- a/src/vm/eventtrace.cpp +++ b/src/vm/eventtrace.cpp @@ -4429,7 +4429,7 @@ extern "C" GCEventKeyword keywords = static_cast(MatchAnyKeyword); GCEventLevel level = static_cast(Level); - GCHeapUtilities::RecordEventStateChange(bIsPublicTraceHandle, keywords, level); + GCHeapUtilities::RecordEventStateChange(!!bIsPublicTraceHandle, keywords, level); // EventPipeEtwCallback contains some GC eventing functionality shared between EventPipe and ETW. // Eventually, we'll want to merge these two codepaths whenever we can. -- 2.7.4