mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
added cast to unsigned to compile with gcc3.2 (sparc)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
41a29f2b6f
commit
c1d4d79d93
2 files changed
+8
-4
No files matched your search
@@ -70,8 +70,10 @@ void StatisticBase::destroy() const {
|
||||
// Figure out how long the biggest Value and Name fields are...
|
||||
unsigned MaxNameLen = 0, MaxValLen = 0;
|
||||
for (unsigned i = 0, e = AccumStats->size(); i != e; ++i) {
|
||||
MaxValLen = std::max(MaxValLen, (*AccumStats)[i].Value.length());
|
||||
MaxNameLen = std::max(MaxNameLen, std::strlen((*AccumStats)[i].Name));
|
||||
MaxValLen = std::max(MaxValLen,
|
||||
(unsigned)(*AccumStats)[i].Value.length());
|
||||
MaxNameLen = std::max(MaxNameLen,
|
||||
(unsigned)std::strlen((*AccumStats)[i].Name));
|
||||
}
|
||||
|
||||
// Sort the fields...
|
||||
|
||||
Reference in new issue
Block a user