forked from OSchip/llvm-project
Make loop counter unsigned in SymbolFilePDB::GetCompileUnitIndex
Summary: This fixes a clang warning. Reviewers: zturner Reviewed By: zturner Subscribers: zturner, lldb-commits Differential Revision: https://reviews.llvm.org/D42345 llvm-svn: 323075
This commit is contained in:
parent
290adb3184
commit
fbdf0b9315
|
@ -211,7 +211,7 @@ void SymbolFilePDB::GetCompileUnitIndex(
|
|||
if (!results_up)
|
||||
return;
|
||||
auto uid = pdb_compiland->getSymIndexId();
|
||||
for (int cu_idx = 0; cu_idx < GetNumCompileUnits(); ++cu_idx) {
|
||||
for (uint32_t cu_idx = 0; cu_idx < GetNumCompileUnits(); ++cu_idx) {
|
||||
auto compiland_up = results_up->getChildAtIndex(cu_idx);
|
||||
if (!compiland_up)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue