Skip to content

Commit 1fc2993

Browse files
authored
Fix C++ compilation warning (#1011)
1 parent 3325429 commit 1fc2993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/process_wrapper/utils.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ bool ReadStampStatusToArray(
110110
return false;
111111
}
112112

113-
for (int i = 0; i < stamp_block.size(); ++i) {
113+
for (System::StrVecType::size_type i = 0; i < stamp_block.size(); ++i) {
114114
size_t space_pos = stamp_block[i].find(' ');
115115
if (space_pos == std::string::npos) {
116116
std::cerr << "process wrapper error: wrong workspace status file "

0 commit comments

Comments
 (0)