mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 13:21:23 +00:00
[CMAKE/NTOSKRNL]
Fix warnings svn path=/branches/cmake-bringup/; revision=51737
This commit is contained in:
parent
8942524e2a
commit
ef04b58c2e
1 changed files with 6 additions and 6 deletions
|
@ -211,7 +211,7 @@ KdbSymPrintAddress(
|
||||||
}
|
}
|
||||||
SectionObject = MemoryArea->Data.SectionData.Section;
|
SectionObject = MemoryArea->Data.SectionData.Section;
|
||||||
if (!(SectionObject->AllocationAttributes & SEC_IMAGE)) goto end;
|
if (!(SectionObject->AllocationAttributes & SEC_IMAGE)) goto end;
|
||||||
if (MemoryArea->StartingAddress != KdbpImageBase)
|
if (MemoryArea->StartingAddress != (PVOID)KdbpImageBase)
|
||||||
{
|
{
|
||||||
if (KdbpRosSymInfo)
|
if (KdbpRosSymInfo)
|
||||||
{
|
{
|
||||||
|
@ -223,7 +223,7 @@ KdbSymPrintAddress(
|
||||||
if ((FileContext = KdbpCaptureFileForSymbols(SectionObject->FileObject)))
|
if ((FileContext = KdbpCaptureFileForSymbols(SectionObject->FileObject)))
|
||||||
{
|
{
|
||||||
if (RosSymCreateFromFile(FileContext, &KdbpRosSymInfo))
|
if (RosSymCreateFromFile(FileContext, &KdbpRosSymInfo))
|
||||||
KdbpImageBase = MemoryArea->StartingAddress;
|
KdbpImageBase = (ULONG_PTR)MemoryArea->StartingAddress;
|
||||||
|
|
||||||
KdbpReleaseFileForSymbols(FileContext);
|
KdbpReleaseFileForSymbols(FileContext);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue