diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-10 23:36:56 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-10 23:36:56 +0000 |
commit | 15565ad758ae28f21a1f8bbcc92fac49482bd820 (patch) | |
tree | c128c204637a8cc9fa92ac9b30cbf0862af3277c /lib/Object | |
parent | db7334dbc55fb4b86fa3db19bff08ec02ba474d5 (diff) |
Fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object')
-rw-r--r-- | lib/Object/MachOObjectFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index 52b27b6b75..0359a8855b 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/lib/Object/MachOObjectFile.cpp @@ -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; } |