diff --git a/BurnOutSharp.Wrappers/PortableExecutable.cs b/BurnOutSharp.Wrappers/PortableExecutable.cs index ed6be896..13f96332 100644 --- a/BurnOutSharp.Wrappers/PortableExecutable.cs +++ b/BurnOutSharp.Wrappers/PortableExecutable.cs @@ -768,8 +768,8 @@ namespace BurnOutSharp.Wrappers { // TODO: Handle long section names with leading `/` string sectionName = Encoding.UTF8.GetString(section.Name); - int sectionAddr = (int)section.PointerToRawData; - int sectionEnd = sectionAddr + (int)section.VirtualSize; + uint sectionAddr = section.PointerToRawData; + uint sectionEnd = sectionAddr + section.VirtualSize; Console.WriteLine($"{sectionName}: {sectionAddr} -> {sectionEnd}"); } }