Fix Narrowing conversion warning introduced by r264415

llvm-svn: 264419
This commit is contained in:
Hemant Kulkarni 2016-03-25 16:37:03 +00:00
parent 169eda643c
commit 456bd51c7d
1 changed files with 1 additions and 1 deletions

View File

@ -2767,7 +2767,7 @@ bool GNUStyle<ELFT>::checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec) {
template <class ELFT>
void GNUStyle<ELFT>::printProgramHeaders(const ELFO *Obj) {
int Bias = (ELFT::Is64Bits) ? 8 : 0;
unsigned Bias = (ELFT::Is64Bits) ? 8 : 0;
unsigned Width = (ELFT::Is64Bits) ? 18 : 10;
unsigned SizeWidth = (ELFT::Is64Bits) ? 8 : 7;
std::string Type, Offset, VMA, LMA, FileSz, MemSz, Flag, Align;