fixed some warnings about mixing signed & unsigned integers

This commit is contained in:
Vern Paxson 2023-11-05 13:06:03 -08:00 committed by Arne Welzel
parent 23c08a05de
commit c49918ba8b
6 changed files with 9 additions and 9 deletions

View file

@ -182,7 +182,7 @@ UDs UseDefs::PropagateUDs(const Stmt* s, UDs succ_UDs, const Stmt* succ_stmt, bo
const Stmt* succ;
if ( i == stmts.size() - 1 ) { // Very last statement.
if ( i == int(stmts.size()) - 1 ) { // Very last statement.
succ = succ_stmt;
if ( successor2.find(s) != successor2.end() )
successor2[s_i] = successor2[s];