summaryrefslogtreecommitdiff
path: root/wk5/pset/speller/dictionary.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-14 23:59:03 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-14 23:59:03 +0000
commitde9458b0a8693c83299202d37406da4ad4d46a1e (patch)
treeb3f77dad1f7a04627513dd094a0087aba82ce6ab /wk5/pset/speller/dictionary.c
parent38e875f8b9680787879789f62625efde4ce767b8 (diff)
Sun, Apr 14, 2024, 4:59 PM -07:00
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-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;
}