From 5f608464da650ff68ae58005200d84c3205ceb3b Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Fri, 11 Oct 2024 14:25:36 +1100 Subject: [PATCH] Fix a couple of warnings --- src/d_deh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_deh.c b/src/d_deh.c index d6303773b..5c2b9521a 100644 --- a/src/d_deh.c +++ b/src/d_deh.c @@ -78,7 +78,7 @@ extern byte *defined_codeptr_args; // killough 10/98: emulate IO whether input really comes from a file or not // haleyjd: got rid of macros for MSVC -static char *dehfgets(char *str, size_t count, DEHFILE *fp) +static char *dehfgets(char *str, int count, DEHFILE *fp) { if (fp->file) return fgets(str, count, fp->file);