Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Unify size_t usage in speed observer unit test
Browse files Browse the repository at this point in the history
Co-Authored-By: leunMar <[email protected]>
  • Loading branch information
HiddenBug and leunMar authored Nov 18, 2019
1 parent 5e88493 commit 5346109
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ MATCHER_P2(SpeedAtIGe, i, x,
"Speed at index " + PrintToString(i) + std::string(negation ? "is not" : "is") + " greater or equal to" +
PrintToString(x) + ".")
{
return static_cast<unsigned long>(i) < arg->name.size() && arg->speed.at(static_cast<size_t>(i)) >= x;
return static_cast<size_t>(i) < arg->name.size() && arg->speed.at(static_cast<size_t>(i)) >= x;
}

MATCHER_P2(SpeedAtILe, i, x,
Expand Down

0 comments on commit 5346109

Please sign in to comment.