Fix warning on ARM processors.

Thanks to Kelly Anderson.
This commit is contained in:
Hisham Muhammad 2012-02-17 13:45:58 +00:00
parent 1a604a05a5
commit 571ae33bb4
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ char* String_getToken(const char* line, const unsigned short int numMatch) {
count++;
if(inWord == 1){
if (count == numMatch && line[i] != ' ' && line[i] != '\0' && line[i] != '\n' && line[i] != EOF) {
if (count == numMatch && line[i] != ' ' && line[i] != '\0' && line[i] != '\n' && line[i] != (char)EOF) {
match[foundCount] = line[i];
foundCount++;
}