diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-02-23 00:17:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 00:17:45 -0800 |
commit | 2ddde33b2b46da116b2b36c2e5db640b5d76901f (patch) | |
tree | 54f609b3d8ed59254521ca2c544768480adb2900 | |
parent | d502a55d245d889c37e1b57d869f3aa7d26535c0 (diff) | |
download | coreclr-2ddde33b2b46da116b2b36c2e5db640b5d76901f.tar.gz coreclr-2ddde33b2b46da116b2b36c2e5db640b5d76901f.tar.bz2 coreclr-2ddde33b2b46da116b2b36c2e5db640b5d76901f.zip |
Fix build break with older VS versions (#16522)
-rw-r--r-- | src/vm/methodtable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vm/methodtable.h b/src/vm/methodtable.h index 29d36d1dce..7bc2a83c54 100644 --- a/src/vm/methodtable.h +++ b/src/vm/methodtable.h @@ -2218,7 +2218,7 @@ public: #endif } - inline static bool IsParentMethodTableTagged(PTR_MethodTable pMT) + inline static BOOL IsParentMethodTableTagged(PTR_MethodTable pMT) { LIMITED_METHOD_CONTRACT; TADDR base = dac_cast<TADDR>(pMT) + offsetof(MethodTable, m_pParentMethodTable); @@ -2228,9 +2228,9 @@ public: bool GetFlagHasIndirectParent() { #ifdef FEATURE_PREJIT - return GetFlag(enum_flag_HasIndirectParent); + return !!GetFlag(enum_flag_HasIndirectParent); #else - return FALSE; + return false; #endif } |