From edc143e25d60c5d0775fa0049ace9bf6d8bcef4f Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 30 Apr 2009 17:28:43 +0000 Subject: [PATCH] Compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3112 8ced0084-cf51-0410-be5f-012b33b47a6e --- Externals/WiiUseSrc/Src/wiiuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Externals/WiiUseSrc/Src/wiiuse.c b/Externals/WiiUseSrc/Src/wiiuse.c index 271b4a5059..19277f2c05 100644 --- a/Externals/WiiUseSrc/Src/wiiuse.c +++ b/Externals/WiiUseSrc/Src/wiiuse.c @@ -115,10 +115,10 @@ struct wiimote_t** wiiuse_init(int wiimotes) { if (!wiimotes) return NULL; - wm = (wiimote_t **)malloc(sizeof(struct wiimote_t*) * wiimotes); + wm = (struct wiimote_t **)malloc(sizeof(struct wiimote_t*) * wiimotes); for (i = 0; i < wiimotes; ++i) { - wm[i] = (wiimote_t *)malloc(sizeof(struct wiimote_t)); + wm[i] = (struct wiimote_t *)malloc(sizeof(struct wiimote_t)); memset(wm[i], 0, sizeof(struct wiimote_t)); wm[i]->unid = i+1;