diff --git a/lib/soft386/common.c b/lib/soft386/common.c index b8e95144a96..f8127aa8060 100644 --- a/lib/soft386/common.c +++ b/lib/soft386/common.c @@ -20,8 +20,7 @@ /* PRIVATE FUNCTIONS **********************************************************/ -static -inline +static inline ULONG Soft386GetPageTableEntry(PSOFT386_STATE State, ULONG VirtualAddress) @@ -434,7 +433,7 @@ Soft386InterruptInternal(PSOFT386_STATE State, VOID FASTCALL Soft386ExceptionWithErrorCode(PSOFT386_STATE State, - INT ExceptionCode, + SOFT386_EXCEPTIONS ExceptionCode, ULONG ErrorCode) { SOFT386_IDT_ENTRY IdtEntry; diff --git a/lib/soft386/common.h b/lib/soft386/common.h index 8e1697838a7..4b3e9dbc600 100644 --- a/lib/soft386/common.h +++ b/lib/soft386/common.h @@ -119,7 +119,7 @@ FASTCALL Soft386ExceptionWithErrorCode ( PSOFT386_STATE State, - INT ExceptionCode, + SOFT386_EXCEPTIONS ExceptionCode, ULONG ErrorCode ); diff --git a/lib/soft386/common.inl b/lib/soft386/common.inl index b09ea1f6253..0ec84d19e22 100644 --- a/lib/soft386/common.inl +++ b/lib/soft386/common.inl @@ -11,7 +11,7 @@ FORCEINLINE VOID Soft386Exception(PSOFT386_STATE State, - INT ExceptionCode) + SOFT386_EXCEPTIONS ExceptionCode) { /* Call the internal function */ Soft386ExceptionWithErrorCode(State, ExceptionCode, 0);