Fix another sign conversion warning.

This commit is contained in:
Daniel James
2016-10-05 13:52:33 +01:00
parent 094fa38360
commit b1588929cc

View File

@ -627,7 +627,7 @@ struct initialize_from_two_ints
friend std::size_t hash_value(initialize_from_two_ints const& x)
{
return x.a + x.b;
return static_cast<std::size_t>(x.a + x.b);
}
bool operator==(initialize_from_two_ints const& x) const