diff options
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 3274ec012aa..c717344ccbe 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -1499,7 +1499,7 @@ void SymbolTableSection<ELFT>::writeGlobalSymbols(uint8_t *Buf) { SymbolBody *Body = P.first; size_t StrOff = P.second; - unsigned char Type = STT_NOTYPE; + uint8_t Type = STT_NOTYPE; uintX_t Size = 0; if (const Elf_Sym *InputSym = getElfSym<ELFT>(*Body)) { Type = InputSym->getType(); |