X86VMTranslationMapPAE: Fix gcc 2 warning

... which due to the reactivated -Werror causes the build to fail.
This commit is contained in:
Ingo Weinhold 2013-12-05 20:40:36 +01:00
parent 9e46d51cc2
commit 372b309a4a

View File

@ -1189,7 +1189,7 @@ X86VMTranslationMapPAE::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
pae_page_directory_entry* const* pdpt
= fPagingStructures->VirtualPageDirs();
for (uint32 pageDirIndex = fIsKernelMap ? 2 : 0;
pageDirIndex < (fIsKernelMap ? 4 : 2); pageDirIndex++) {
pageDirIndex < uint32(fIsKernelMap ? 4 : 2); pageDirIndex++) {
// iterate through the page directory
pae_page_directory_entry* pageDirectory = pdpt[pageDirIndex];
for (uint32 pdeIndex = 0; pdeIndex < kPAEPageDirEntryCount;