Author: ion Date: Sun Feb 5 20:52:00 2017 New Revision: 73713
URL: http://svn.reactos.org/svn/reactos?rev=73713&view=rev Log: [BOOTLIB]: Fix GCC build. Maybe I should stop using MSVC.
Modified: trunk/reactos/boot/environ/lib/mm/pagealloc.c
Modified: trunk/reactos/boot/environ/lib/mm/pagealloc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/mm/pageall... ============================================================================== --- trunk/reactos/boot/environ/lib/mm/pagealloc.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/mm/pagealloc.c [iso-8859-1] Sun Feb 5 20:52:00 2017 @@ -652,7 +652,7 @@ }
/* Free it from there */ - PhysicalAddress.QuadPart = (ULONGLONG)Address; + PhysicalAddress.QuadPart = (ULONG_PTR)Address; return MmPapFreePhysicalPages(WhichList, 0, PhysicalAddress); }