summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-10-03 19:41:14 +0100
committerVincent Sanders <vince@netsurf-browser.org>2012-10-03 19:41:14 +0100
commitf22da7670d22d17337c1a2aebb924305b08ede2c (patch)
tree0f6d7d51be8b0eb2ddd23f5ff0f67c3281a7c378 /amiga
parentc1671f37b1a6b8872d736bfdcee25770dbbd5a06 (diff)
downloadnetsurf-f22da7670d22d17337c1a2aebb924305b08ede2c.tar.gz
netsurf-f22da7670d22d17337c1a2aebb924305b08ede2c.tar.bz2
fix missing sizeof() in amiga build
fix type warning by passing correct value
Diffstat (limited to 'amiga')
-rw-r--r--amiga/plugin_hack.c2
1 files changed, 1 insertions, 1 deletions
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;