From daabff089602e406efe29eaa8a639fca2a717b97 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Thu, 3 Sep 2020 09:43:35 +0200 Subject: fix: Typen in Hash-Tabelle --- hashtab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hashtab.c') diff --git a/hashtab.c b/hashtab.c index be5e3d3..8a49baf 100644 --- a/hashtab.c +++ b/hashtab.c @@ -135,9 +135,10 @@ hash_free(struct hash_tab *ht) } static int -getword(FILE *fp, char *buf, int size, int first(int), int rest(int)) +getword(FILE *fp, char *buf, size_t size, int first(int), int rest(int)) { - int i = 0, c; + size_t i = 0; + int c; c = getc(fp); for ( ; c != EOF; c = getc(fp) ) -- cgit v1.3