summaryrefslogtreecommitdiff
path: root/os-win.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-24 10:40:38 -0400
committerpommicket <pommicket@gmail.com>2023-09-24 10:54:36 -0400
commitc8914d4aee5b03191587dd9b4ae2836df48665fb (patch)
tree54131a840a150794dd1391a28fd7a30d091b3572 /os-win.c
parent523029fa2e77518903d139ffbd6cc3f792a6b85e (diff)
bump version2.6.2
fix fs_file_size on windows
Diffstat (limited to 'os-win.c')
-rw-r--r--os-win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os-win.c b/os-win.c
index 1ee6fd6..85d6b89 100644
--- a/os-win.c
+++ b/os-win.c
@@ -51,6 +51,7 @@ int64_t fs_file_size(const char *path) {
size = large.QuadPart;
}
CloseHandle(file);
+ return size;
}
FsDirectoryEntry **fs_list_directory(const char *dirname) {