1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Fixed some more warnings.

This commit is contained in:
jules 2012-09-24 15:45:25 +01:00
parent a180c6c358
commit 6b1654e1d2
47 changed files with 129 additions and 116 deletions

View file

@ -880,7 +880,7 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw
unsigned int hash = 0;
if (resourceNameUTF8 != 0)
while (*resourceNameUTF8 != 0)
hash = 31 * hash + *resourceNameUTF8++;
hash = 31 * hash + (unsigned int) *resourceNameUTF8++;
switch (hash)
{