From e01f935f0e48819c354237ff8e40c286063cf8eb Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Fri, 18 May 2018 06:51:00 +0200 Subject: [PATCH] [HALX86] Fix a Clang-Cl warning about KiUnexpectedInterrupt "warning: cast between incompatible calling conventions 'cdecl' and 'fastcall'; calls through this pointer may abort at runtime [-Wcast-calling-convention]" CORE-14306 --- hal/halx86/up/pic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/halx86/up/pic.c b/hal/halx86/up/pic.c index d3e5529d7ed..e39f81a5493 100644 --- a/hal/halx86/up/pic.c +++ b/hal/halx86/up/pic.c @@ -405,7 +405,7 @@ PHAL_SW_INTERRUPT_HANDLER SWInterruptHandlerTable[20] = /* Handlers for pending software interrupts when we already have a trap frame*/ PHAL_SW_INTERRUPT_HANDLER_2ND_ENTRY SWInterruptHandlerTable2[3] = { - (PHAL_SW_INTERRUPT_HANDLER_2ND_ENTRY)KiUnexpectedInterrupt, + (PHAL_SW_INTERRUPT_HANDLER_2ND_ENTRY)(PVOID)KiUnexpectedInterrupt, HalpApcInterrupt2ndEntry, HalpDispatchInterrupt2ndEntry };