Author: mbosma
Date: Fri Mar 2 20:06:20 2007
New Revision: 25951
URL:
http://svn.reactos.org/svn/reactos?rev=25951&view=rev
Log:
Felipe Villarroel (fvillarroels(at)gmail(dot)com):
Gcc4 fixes.
Modified:
branches/cache_manager_rewrite/mm/pageop.c
branches/cache_manager_rewrite/mm/rmap.c
Modified: branches/cache_manager_rewrite/mm/pageop.c
URL:
http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/pageop…
==============================================================================
--- branches/cache_manager_rewrite/mm/pageop.c (original)
+++ branches/cache_manager_rewrite/mm/pageop.c Fri Mar 2 20:06:20 2007
@@ -48,7 +48,7 @@
}
if (PageOp->MArea)
{
- InterlockedDecrementUL(&PageOp->MArea->PageOpCount);
+ (void)InterlockedDecrementUL(&PageOp->MArea->PageOpCount);
}
PrevPageOp = MmPageOpHashTable[PageOp->Hash];
if (PrevPageOp == PageOp)
Modified: branches/cache_manager_rewrite/mm/rmap.c
URL:
http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/rmap.c…
==============================================================================
--- branches/cache_manager_rewrite/mm/rmap.c (original)
+++ branches/cache_manager_rewrite/mm/rmap.c Fri Mar 2 20:06:20 2007
@@ -528,7 +528,7 @@
}
if (Process)
{
- InterlockedExchangeAddUL(&Process->Vm.WorkingSetSize, -PAGE_SIZE);
+ (void)InterlockedExchangeAddUL(&Process->Vm.WorkingSetSize,
-PAGE_SIZE);
}
return;
}