From e15459cd9efab607e95f720bd971d0e73615f437 Mon Sep 17 00:00:00 2001 From: CNLohr Date: Wed, 15 Mar 2017 00:14:37 -0400 Subject: Getting very close to a Windows port. --- windows/tcc_stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'windows/tcc_stubs.c') diff --git a/windows/tcc_stubs.c b/windows/tcc_stubs.c index 58cc8ed..7872914 100644 --- a/windows/tcc_stubs.c +++ b/windows/tcc_stubs.c @@ -44,7 +44,7 @@ int vasprintf(char **strp, const char *fmt, va_list ap) { return -1; } size_t size = (size_t)len + 1; - char *str = malloc(size); + char *str = (char*)malloc(size); if (!str) { return -1; } -- cgit v1.2.3