diff options
Diffstat (limited to 'wk5/pset')
-rw-r--r-- | wk5/pset/speller/dictionary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index ce23728..87a77a4 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -54,7 +54,7 @@ unsigned int hash(const char *word) { val += toupper(word[i]) - 'A'; } - return val % 26; + return (val % 26); } // Loads dictionary into memory, returning true if successful, else false |