diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 32257e9..77c996e 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -30,7 +30,7 @@ int readWords(FILE* file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) while (token != NULL && count < maxWordCount) { for (char* p = token; *p; ++p) - (char)toupper((unsigned char)*p); + *p=(char)toupper((unsigned char)*p); strncpy(words[count], token, MAX_WORD_LEN - 1); words[count][MAX_WORD_LEN - 1] = '\0'; count++;