summaryrefslogtreecommitdiff
path: root/source/kit/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit/file.c')
-rw-r--r--source/kit/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/kit/file.c b/source/kit/file.c
index f4000b7..cba4e02 100644
--- a/source/kit/file.c
+++ b/source/kit/file.c
@@ -329,7 +329,7 @@ kit_file_size_result_t kit_file_size(kit_str_t const path) {
PREPARE_PATH_BUF_;
#if defined(_WIN32) && !defined(__CYGWIN__)
- HFILE f = CreateFileW(buf, GENERIC_READ, FILE_SHARE_READ, NULL,
+ HANDLE f = CreateFileW(buf, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if (f != INVALID_HANDLE_VALUE) {
DWORD high;