(MSVC 360) Build fix

This commit is contained in:
Twinaphex 2014-04-17 17:42:41 -07:00
parent d4845cc6e3
commit 4e2572bbfe
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@
#include <stddef.h>
#include <stdint.h>
#include <string>
#include "platform_xdk.h"

View File

@ -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)