Skip to content

Commit c75dcc1

Browse files
committed
fix -Wsign_compare violation in JsonVisitor.cpp
1 parent 416964e commit c75dcc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JsonVisitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void JsonVisitor::printChildList(
3838
const std::vector<std::string>::const_iterator &childIterator,
3939
size_t numChildren) {
4040
out_ << '[';
41-
for (int ii = 0; ii < numChildren; ++ii) {
41+
for (size_t ii = 0; ii < numChildren; ++ii) {
4242
if (ii != 0) {
4343
out_ << ',';
4444
}

0 commit comments

Comments
 (0)