diff options
Diffstat (limited to 'compiler/elf_writer_quick.h')
-rw-r--r-- | compiler/elf_writer_quick.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/elf_writer_quick.h b/compiler/elf_writer_quick.h index dbdccfc..6eb5d68 100644 --- a/compiler/elf_writer_quick.h +++ b/compiler/elf_writer_quick.h @@ -167,10 +167,10 @@ class ElfWriterQuick FINAL : public ElfWriter { ElfSymtabBuilder(const std::string& sec_name, Elf32_Word type, const std::string& str_name, Elf32_Word str_type, bool alloc) - : ElfSectionBuilder(sec_name, type, ((alloc)?SHF_ALLOC:0), &strtab_, 0, + : ElfSectionBuilder(sec_name, type, ((alloc) ? SHF_ALLOC : 0U), &strtab_, 0, sizeof(Elf32_Word), sizeof(Elf32_Sym)), str_name_(str_name), str_type_(str_type), - strtab_(str_name, str_type, ((alloc) ? SHF_ALLOC : 0), NULL, 0, 1, 1) {} + strtab_(str_name, str_type, ((alloc) ? SHF_ALLOC : 0U), NULL, 0, 1, 1) {} ~ElfSymtabBuilder() {} protected: |