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