From: NaitLee Date: Mon, 31 Jul 2023 09:17:49 +0000 (+0800) Subject: (fix #378) use fs_offset_t for fsize X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2FNaitLee%2F378-exec-file-eof-no-newline;p=xonotic%2Fdarkplaces.git (fix #378) use fs_offset_t for fsize Signed-off-by: NaitLee --- 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") ||