summaryrefslogtreecommitdiffstats
path: root/src/win32/filesystem_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/filesystem_win32.c')
-rw-r--r--src/win32/filesystem_win32.c4
1 files changed, 2 insertions, 2 deletions
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);