Index: COFF/PDB.cpp =================================================================== --- COFF/PDB.cpp +++ COFF/PDB.cpp @@ -1214,7 +1214,8 @@ // Rewrite string table indices in the Fpo Data and symbol records to refer to // the global PDB string table instead of the object file string table. for (DebugFrameDataSubsectionRef &FDS : NewFpoFrames) { - const uint32_t *Reloc = FDS.getRelocPtr(); + const ulittle32_t *Reloc = + reinterpret_cast(FDS.getRelocPtr()); for (codeview::FrameData FD : FDS) { FD.RvaStart += *Reloc; FD.FrameFunc =