Author: hbelusca Date: Sat Aug 1 21:40:58 2015 New Revision: 68591
URL: http://svn.reactos.org/svn/reactos?rev=68591&view=rev Log: [NTVDM]: Fix the return code of 2 functions.
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/d... ============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c [iso-8859-1] Sat Aug 1 21:40:58 2015 @@ -90,7 +90,7 @@ return (HandleEntry != NULL && HandleEntry->Allocated); }
-static USHORT EmsFree(USHORT Handle) +static UCHAR EmsFree(USHORT Handle) { PLIST_ENTRY Entry; PEMS_HANDLE HandleEntry = GetHandleRecord(Handle); @@ -171,7 +171,7 @@ return (PEMS_PAGE)CONTAINING_RECORD(Entry, EMS_PAGE, Entry); }
-static USHORT EmsMap(USHORT Handle, UCHAR PhysicalPage, USHORT LogicalPage) +static UCHAR EmsMap(USHORT Handle, UCHAR PhysicalPage, USHORT LogicalPage) { PEMS_PAGE PageEntry; PEMS_HANDLE HandleEntry = GetHandleRecord(Handle);