diff --git a/src/Stmt.cc b/src/Stmt.cc index b42ee65fb2..9efda21df1 100644 --- a/src/Stmt.cc +++ b/src/Stmt.cc @@ -1018,7 +1018,7 @@ ForStmt::ForStmt(IDPList* arg_loop_vars, ExprPtr loop_expr) : ExprStmt(STMT_FOR, // return; } - else if ( static_cast(indices.size()) != loop_vars->size() ) { + else if ( indices.size() != loop_vars->size() ) { e->Error("wrong index size"); return; }