diff options
author | Ben Adams <thundercat@illyriad.co.uk> | 2018-12-24 02:09:46 +0000 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-12-23 18:09:46 -0800 |
commit | 5b0f1a1d183f83a077771feca7cea90b8159863a (patch) | |
tree | 962fe5c7dbfad87bf7d111ca5ee4898d5f005630 /src | |
parent | 074276531b1f38be114663b0b84f196c7fee9d27 (diff) | |
download | coreclr-5b0f1a1d183f83a077771feca7cea90b8159863a.tar.gz coreclr-5b0f1a1d183f83a077771feca7cea90b8159863a.tar.bz2 coreclr-5b0f1a1d183f83a077771feca7cea90b8159863a.zip |
Fix warning causing error in warning as error (Windows) (#21656)
Diffstat (limited to 'src')
-rw-r--r-- | src/vm/jitinterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vm/jitinterface.cpp b/src/vm/jitinterface.cpp index 0730f37641..c7d55b519c 100644 --- a/src/vm/jitinterface.cpp +++ b/src/vm/jitinterface.cpp @@ -6033,8 +6033,8 @@ CorInfoHelpFunc CEEInfo::getNewHelperStatic(MethodTable * pMT, bool * pHasSideEf // Slow helper is the default CorInfoHelpFunc helper = CORINFO_HELP_NEWFAST; - bool hasFinalizer = pMT->HasFinalizer(); - bool isComObjectType = pMT->IsComObjectType(); + BOOL hasFinalizer = pMT->HasFinalizer(); + BOOL isComObjectType = pMT->IsComObjectType(); if (pHasSideEffects != nullptr) { @@ -6051,7 +6051,7 @@ CorInfoHelpFunc CEEInfo::getNewHelperStatic(MethodTable * pMT, bool * pHasSideEf else #endif { - *pHasSideEffects = hasFinalizer; + *pHasSideEffects = !!hasFinalizer; } } |