summaryrefslogtreecommitdiff
path: root/src/vm/excep.cpp
diff options
context:
space:
mode:
authorBen Adams <thundercat@illyriad.co.uk>2018-12-15 08:57:07 +0000
committerJan Kotas <jkotas@microsoft.com>2018-12-15 03:57:07 -0500
commita41039e66e8f36acd739c3935f9690b21303746f (patch)
treebe5e121eaa9a9b8839d7a60703cff5bb61c185f8 /src/vm/excep.cpp
parentf3941e439a080a526ecd6216c90328ef900e41ac (diff)
downloadcoreclr-a41039e66e8f36acd739c3935f9690b21303746f.tar.gz
coreclr-a41039e66e8f36acd739c3935f9690b21303746f.tar.bz2
coreclr-a41039e66e8f36acd739c3935f9690b21303746f.zip
Fix warning causing error in warning as error (#21557)
c:\github\coreclr\src\vm\excep.cpp(4489): error C2220: warning treated as error - no 'object' file generated [C:\GitHub\coreclr\bin\obj\Windows_NT.x64.Release\src\vm\wks\cee_wks.vcxproj] c:\github\coreclr\src\vm\excep.cpp(4489): warning C4800: 'BOOL': forcing value to bool 'true' or 'false' (performance warning) [C:\GitHub\coreclr\bin\obj\Windows_NT.x64.Release\src\vm\wks\cee_wks.vcxproj]
Diffstat (limited to 'src/vm/excep.cpp')
-rw-r--r--src/vm/excep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp
index 75e962c5ff..34adc32ad2 100644
--- a/src/vm/excep.cpp
+++ b/src/vm/excep.cpp
@@ -4467,9 +4467,9 @@ void DECLSPEC_NORETURN RaiseDeadLockException()
// Returns:
// true If the exception is of a type that is always swallowed.
//
-bool ExceptionIsAlwaysSwallowed(EXCEPTION_POINTERS *pExceptionInfo)
+BOOL ExceptionIsAlwaysSwallowed(EXCEPTION_POINTERS *pExceptionInfo)
{
- bool isSwallowed = false;
+ BOOL isSwallowed = false;
// The exception code must be ours, if it is one of our Exceptions.
if (IsComPlusException(pExceptionInfo->ExceptionRecord))