some warnings fixes

This commit is contained in:
Dominik Maier
2020-08-26 14:45:59 +02:00
parent 4be0ea596b
commit 33e58c1d4e
5 changed files with 14 additions and 5 deletions

View File

@ -284,7 +284,7 @@ bool AFLCoverage::runOnModule(Module &M) {
for (unsigned I = 0; I < PrevLocSize - 1; ++I)
PrevLocShuffle.push_back(ConstantInt::get(Int32Ty, I));
for (unsigned I = PrevLocSize; I < PrevLocVecSize; ++I)
for (int I = PrevLocSize; I < PrevLocVecSize; ++I)
PrevLocShuffle.push_back(ConstantInt::get(Int32Ty, PrevLocSize));
Constant *PrevLocShuffleMask = ConstantVector::get(PrevLocShuffle);