From f22da7670d22d17337c1a2aebb924305b08ede2c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 3 Oct 2012 19:41:14 +0100 Subject: fix missing sizeof() in amiga build fix type warning by passing correct value --- amiga/plugin_hack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga') diff --git a/amiga/plugin_hack.c b/amiga/plugin_hack.c index 830d2f614..f78a67e2d 100644 --- a/amiga/plugin_hack.c +++ b/amiga/plugin_hack.c @@ -100,7 +100,7 @@ nserror amiga_plugin_hack_create(const content_handler *handler, amiga_plugin_hack_content *plugin; nserror error; - plugin = calloc(1, amiga_plugin_hack_content); + plugin = calloc(1, sizeof(amiga_plugin_hack_content)); if (plugin == NULL) return NSERROR_NOMEM; -- cgit v1.2.3