[lld] r262660 - [ELF] Be slightly more consistent, use uint8_t instead of unsigned char.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 13:54:04 PST 2016
Author: davide
Date: Thu Mar 3 15:54:03 2016
New Revision: 262660
URL: http://llvm.org/viewvc/llvm-project?rev=262660&view=rev
Log:
[ELF] Be slightly more consistent, use uint8_t instead of unsigned char.
Modified:
lld/trunk/ELF/OutputSections.cpp
Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=262660&r1=262659&r2=262660&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Thu Mar 3 15:54:03 2016
@@ -1499,7 +1499,7 @@ void SymbolTableSection<ELFT>::writeGlob
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();
More information about the llvm-commits
mailing list