Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/libhamcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2021-03-10 03:56:55 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2021-03-10 03:56:55 +0300
commit8b0b250f2cb9bdeef9730c432c002acd8e6f614f (patch)
tree354cfaa6d2b3850d38c8e6e7b861c560e6b4da2a /FileSystem.c
parentc798511e419ededd0cbe34a09f2aaca5111d9576 (diff)
Fix errors and warnings reported by MSVC, explicitly set C99
Diffstat (limited to 'FileSystem.c')
-rwxr-xr-xFileSystem.c2
1 files changed, 1 insertions, 1 deletions
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)