[ELF] Be slightly more consistent, use uint8_t instead of unsigned char.

llvm-svn: 262660
This commit is contained in:
Davide Italiano 2016-03-03 21:54:03 +00:00
parent 578a20a82e
commit 05920b14c8

View File

@ -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();