mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db7334dbc5
commit
15565ad758
@ -487,11 +487,11 @@ error_code MachOObjectFile::getSectionAlignment(DataRefImpl DRI,
|
||||
if (is64BitLoadCommand(MachOObj, DRI)) {
|
||||
InMemoryStruct<macho::Section64> Sect;
|
||||
getSection64(DRI, Sect);
|
||||
Result = 1 << Sect->Align;
|
||||
Result = uint64_t(1) << Sect->Align;
|
||||
} else {
|
||||
InMemoryStruct<macho::Section> Sect;
|
||||
getSection(DRI, Sect);
|
||||
Result = 1 << Sect->Align;
|
||||
Result = uint64_t(1) << Sect->Align;
|
||||
}
|
||||
return object_error::success;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user