From 8b0b250f2cb9bdeef9730c432c002acd8e6f614f Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Wed, 10 Mar 2021 01:56:55 +0100 Subject: Fix errors and warnings reported by MSVC, explicitly set C99 --- FileSystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FileSystem.c') diff --git a/FileSystem.c b/FileSystem.c index cb64fe5..b0eda22 100755 --- a/FileSystem.c +++ b/FileSystem.c @@ -51,7 +51,7 @@ bool FileSeek(FILE *file, const size_t offset) return false; } - return fseek(file, offset, SEEK_SET) == 0; + return fseek(file, (long)offset, SEEK_SET) == 0; } size_t FileSize(const char *path) -- cgit v1.2.3