From de9458b0a8693c83299202d37406da4ad4d46a1e Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 14 Apr 2024 23:59:03 +0000 Subject: Sun, Apr 14, 2024, 4:59 PM -07:00 --- wk5/pset/speller/dictionary.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3