commit | 965be61b4c0fd748fdf41a1f54de6c811db724e3 | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Wed Jun 21 00:11:45 2017 +0200 |
committer | Thomas Klausner <tk@giga.or.at> | Wed Jun 21 00:11:45 2017 +0200 |
tree | 9e5d75601a2f73bfcb4eb12cf48bbbb6b6a4ba8e | |
parent | 0058315386265bac4f7821e07f7860bf5f11c93e [diff] [blame] |
Make a variable size_t to match its use.
diff --git a/lib/zip_source_win32w.c b/lib/zip_source_win32w.c index 551aba5..d8b8f86 100644 --- a/lib/zip_source_win32w.c +++ b/lib/zip_source_win32w.c
@@ -90,7 +90,7 @@ static HANDLE _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) { - int len; + size_t len; len = wcslen((const wchar_t *)ctx->fname) + 10; if (*temp == NULL) {