Removed more compiler warnings in linux.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5170 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-03-07 22:48:37 +00:00
parent ff7da32c6b
commit beba3b7f5b
22 changed files with 33 additions and 35 deletions

View File

@ -69,7 +69,7 @@ public:
private:
size_t CalculateHash() {
size_t h = -1;
for (int i = 0; i < sizeof(vid) / sizeof(vid[0]); ++i) {
for (unsigned int i = 0; i < sizeof(vid) / sizeof(vid[0]); ++i) {
h = h * 137 + vid[i];
}
return h;