Fix warning in ThreadSanitizerRuntime

llvm-svn: 264849
This commit is contained in:
Pavel Labath
2016-03-30 09:42:59 +00:00
parent 6ce88f8d66
commit 1b46a72eb2

View File

@@ -287,7 +287,7 @@ ConvertToStructuredArray(ValueObjectSP return_value_sp, std::string items_name,
StructuredData::Array *array = new StructuredData::Array();
unsigned int count = return_value_sp->GetValueForExpressionPath(count_name.c_str())->GetValueAsUnsigned(0);
ValueObjectSP objects = return_value_sp->GetValueForExpressionPath(items_name.c_str());
for (int i = 0; i < count; i++) {
for (unsigned int i = 0; i < count; i++) {
ValueObjectSP o = objects->GetChildAtIndex(i, true);
StructuredData::Dictionary *dict = new StructuredData::Dictionary();