From 1ffffe26170cb883508a49e56b64dc66815c0fb6 Mon Sep 17 00:00:00 2001 From: NaitLee Date: Mon, 31 Jul 2023 17:17:49 +0800 Subject: [PATCH] (fix #378) use fs_offset_t for fsize Signed-off-by: NaitLee --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd.c b/cmd.c index 6d5797d3..c318bd91 100644 --- a/cmd.c +++ b/cmd.c @@ -605,7 +605,7 @@ static void Cmd_StuffCmds_f (cmd_state_t *cmd) static void Cmd_Exec(cmd_state_t *cmd, const char *filename) { char *f; - long int fsize; + fs_offset_t fsize; size_t filenameLen = strlen(filename); qbool isdefaultcfg = !strcmp(filename, "default.cfg") || -- 2.39.2