From 18e62483cb7173c6604f7dd2097299e47c2a4c0c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Feb 2023 10:31:06 -0500 Subject: Fix MinGW build --- src/win32/filesystem_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/win32/filesystem_win32.c') diff --git a/src/win32/filesystem_win32.c b/src/win32/filesystem_win32.c index 0038189..5dc36a8 100644 --- a/src/win32/filesystem_win32.c +++ b/src/win32/filesystem_win32.c @@ -85,8 +85,8 @@ char* zix_create_temporary_directory(ZixAllocator* const allocator, const char* const path_pattern) { - static const char chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; - static const int n_chars = sizeof(chars) - 1; + static const char chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; + static const size_t n_chars = sizeof(chars) - 1; // Ensure that the pattern ends with "XXXXXX" const size_t length = strlen(path_pattern); -- cgit v1.2.1