projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db7334d
)
Fix warning.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Mon, 10 Oct 2011 23:36:56 +0000
(23:36 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Mon, 10 Oct 2011 23:36:56 +0000
(23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141597
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Object/MachOObjectFile.cpp
patch
|
blob
|
history
diff --git
a/lib/Object/MachOObjectFile.cpp
b/lib/Object/MachOObjectFile.cpp
index 52b27b6b753e55013434c1aa6cf9cd29686b92a0..0359a8855b327308460da8a4de5e915f46433b23 100644
(file)
--- 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;
}