From: Serge Gautherie Date: Fri, 18 May 2018 04:51:00 +0000 (+0200) Subject: [HALX86] Fix a Clang-Cl warning about KiUnexpectedInterrupt X-Git-Tag: 0.4.11-dev~406 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e01f935f0e48819c354237ff8e40c286063cf8eb [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 --- 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 };