X86VMTranslationMapPAE: Fix gcc 2 warning
... which due to the reactivated -Werror causes the build to fail.
This commit is contained in:
@@ -1189,7 +1189,7 @@ X86VMTranslationMapPAE::DebugGetReverseMappingInfo(phys_addr_t physicalAddress,
|
|||||||
pae_page_directory_entry* const* pdpt
|
pae_page_directory_entry* const* pdpt
|
||||||
= fPagingStructures->VirtualPageDirs();
|
= fPagingStructures->VirtualPageDirs();
|
||||||
for (uint32 pageDirIndex = fIsKernelMap ? 2 : 0;
|
for (uint32 pageDirIndex = fIsKernelMap ? 2 : 0;
|
||||||
pageDirIndex < (fIsKernelMap ? 4 : 2); pageDirIndex++) {
|
pageDirIndex < uint32(fIsKernelMap ? 4 : 2); pageDirIndex++) {
|
||||||
// iterate through the page directory
|
// iterate through the page directory
|
||||||
pae_page_directory_entry* pageDirectory = pdpt[pageDirIndex];
|
pae_page_directory_entry* pageDirectory = pdpt[pageDirIndex];
|
||||||
for (uint32 pdeIndex = 0; pdeIndex < kPAEPageDirEntryCount;
|
for (uint32 pdeIndex = 0; pdeIndex < kPAEPageDirEntryCount;
|
||||||
|
|||||||
Reference in New Issue
Block a user