llvm.org GIT mirror llvm / 7f3654d
Fix build failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140755 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 8 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
126126 if (error(i->getName(name))) return;
127127 if (error(i->getAddress(addr))) return;
128128 max_name_len = std::max(max_name_len, name.size());
129 max_size_len = std::max(max_size_len, getNumLengthAsString(size));
130 max_addr_len = std::max(max_addr_len, getNumLengthAsString(addr));
129 max_size_len = std::max(max_size_len,
130 (std::size_t) getNumLengthAsString(size));
131 max_addr_len = std::max(max_addr_len,
132 (std::size_t) getNumLengthAsString(addr));
131133 }
132134
133135 // Add extra padding.