From 4e2572bbfe7a38711e838c2103b3cd7b17365f71 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 17 Apr 2014 17:42:41 -0700 Subject: [PATCH] (MSVC 360) Build fix --- frontend/platform/platform_xdk.c | 1 - gfx/filters/darken.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/platform/platform_xdk.c b/frontend/platform/platform_xdk.c index aa9676fdf6..b2fb448515 100644 --- a/frontend/platform/platform_xdk.c +++ b/frontend/platform/platform_xdk.c @@ -18,7 +18,6 @@ #include #include -#include #include "platform_xdk.h" diff --git a/gfx/filters/darken.c b/gfx/filters/darken.c index c93b0cbd28..0156173875 100644 --- a/gfx/filters/darken.c +++ b/gfx/filters/darken.c @@ -49,7 +49,7 @@ static void *darken_create(unsigned in_fmt, unsigned out_fmt, struct filter_data *filt = (struct filter_data*)calloc(1, sizeof(*filt)); if (!filt) return NULL; - filt->workers = calloc(threads, sizeof(struct softfilter_thread_data)); + filt->workers = (struct softfilter_thread_data*)calloc(threads, sizeof(struct softfilter_thread_data)); filt->threads = threads; filt->in_fmt = in_fmt; if (!filt->workers)