mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
fix missing sizeof() in amiga build
fix type warning by passing correct value
This commit is contained in:
parent
c1671f37b1
commit
f22da7670d
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user