From 05920b14c8892d8183eb6df0cae8659d9d1dd9e3 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Thu, 3 Mar 2016 21:54:03 +0000 Subject: [PATCH] [ELF] Be slightly more consistent, use uint8_t instead of unsigned char. llvm-svn: 262660 --- lld/ELF/OutputSections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 3274ec0..c717344 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -1499,7 +1499,7 @@ void SymbolTableSection::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(*Body)) { Type = InputSym->getType(); -- 2.7.4