forked from OSchip/llvm-project
Fix a warning when building with gcc.
It was /Writer.cpp:119:45: warning: enumeral and non-enumeral type in conditional expression llvm-svn: 247330
This commit is contained in:
parent
886c7d42df
commit
65db630fe7
|
@ -116,7 +116,7 @@ public:
|
|||
typedef typename OutputSectionBase<Is64Bits>::uintX_t uintX_t;
|
||||
StringTableSection(bool Dynamic)
|
||||
: OutputSectionBase<Is64Bits>(Dynamic ? ".dynstr" : ".strtab", SHT_STRTAB,
|
||||
Dynamic ? SHF_ALLOC : 0) {
|
||||
Dynamic ? (uintX_t)SHF_ALLOC : 0) {
|
||||
this->Header.sh_addralign = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue