More size_t fixes

This commit is contained in:
Jonas Kulla 2014-07-19 09:57:41 +02:00
parent 86b207e389
commit a56d446664
1 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ struct LinkBuffer
return hash.contains(value);
}
bool containsIdx(int idx)
bool containsIdx(size_t idx)
{
if (vec.empty())
return false;
@ -132,7 +132,7 @@ struct LinkBuffer
return idx;
}
T lookup(int idx)
T lookup(size_t idx)
{
return vec[idx];
}