fix various instances of -1 being assigned to unsigned types

This commit is contained in:
Shawn Hoffman
2017-06-07 04:16:02 -07:00
parent be7c6a0819
commit e1a3e41bf3
15 changed files with 25 additions and 27 deletions

View File

@ -36,7 +36,7 @@ public:
private:
size_t CalculateHash() const
{
size_t h = -1;
size_t h = SIZE_MAX;
for (auto word : vid)
{