Fixed gcc compiler warning.

This commit is contained in:
hiker 2014-06-12 09:33:52 +10:00
parent 1dc63849c9
commit 60f707b55d

View File

@ -68,7 +68,7 @@ bool setUsedCharacters(const char* characters)
{
int n = strlen(characters);
for(int i=0; i<n; i++)
bUsed[characters[i]] = true;
bUsed[short(characters[i])] = true;
return true;
} // setUsedCharacters