fix missing sizeof() in amiga build

fix type warning by passing correct value
This commit is contained in:
Vincent Sanders 2012-10-03 19:41:14 +01:00
parent c1671f37b1
commit f22da7670d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -2050,7 +2050,7 @@ bool box_frameset(BOX_SPECIAL_PARAMS)
if (!content->frameset)
return false;
ok = box_create_frameset(content->frameset, n, content->bctx);
ok = box_create_frameset(content->frameset, n, content);
if (ok)
box->type = BOX_NONE;