summaryrefslogtreecommitdiff
path: root/src/pal/src/exception/machmessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/src/exception/machmessage.cpp')
-rw-r--r--src/pal/src/exception/machmessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/exception/machmessage.cpp b/src/pal/src/exception/machmessage.cpp
index eca953c222..f1b4388d6c 100644
--- a/src/pal/src/exception/machmessage.cpp
+++ b/src/pal/src/exception/machmessage.cpp
@@ -1137,7 +1137,7 @@ thread_act_t MachMessage::GetThreadFromState(thread_state_flavor_t eFlavor, thre
// Transform a exception handler behavior type into the corresponding Mach message ID for the notification.
mach_msg_id_t MachMessage::MapBehaviorToNotificationType(exception_behavior_t eBehavior)
{
- switch (eBehavior)
+ switch ((uint)eBehavior)
{
case EXCEPTION_DEFAULT:
return EXCEPTION_RAISE_MESSAGE_ID;