Removed unnecessary casts
diff --git a/lib/zip_source_win32w.c b/lib/zip_source_win32w.c
index e5e8ceb..b9ad56e 100644
--- a/lib/zip_source_win32w.c
+++ b/lib/zip_source_win32w.c
@@ -95,7 +95,7 @@
 
     len = wcslen((const wchar_t *)ctx->fname) + 10;
     if (*temp == NULL) {
-	if ((*temp = (char *)malloc(sizeof(wchar_t) * len)) == NULL) {
+	if ((*temp = malloc(sizeof(wchar_t) * len)) == NULL) {
 	    zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0);
 	    return INVALID_HANDLE_VALUE;
 	}