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 5346109 commit f483eae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ MATCHER_P2(SpeedAtILe, i, x,
"Speed at index " + PrintToString(i) + std::string(negation ? "is not" : "is") + " less 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;
}

/**
Expand Down

0 comments on commit f483eae

Please sign in to comment.