summaryrefslogtreecommitdiff
path: root/wk5
diff options
context:
space:
mode:
Diffstat (limited to 'wk5')
-rw-r--r--wk5/pset/speller/dictionary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index d34922a..695286a 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -53,7 +53,8 @@ bool load(const char *dictionary)
unsigned int size(void)
{
// TODO
- while (fread(file, 1))
+ char c;
+ while (fread(&c, 1, 1, ))
return 0;
}