Merge pull request #126 from mgadams/win32_warnings

Fix several build warnings/error encountered with VS2013
This commit is contained in:
John Kessenich 2016-01-13 19:11:05 -07:00
commit 5caf936428
4 changed files with 881 additions and 881 deletions

View file

@ -309,7 +309,7 @@ struct str_hash
unsigned long hash = 5381;
int c;
while ((c = *str++))
while ((c = *str++) != 0)
hash = ((hash << 5) + hash) + c;
return hash;