mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-21 22:11:22 +03:00
avoid increased alignment warning
This commit is contained in:
parent
a8a5b16df3
commit
199f86dcf1
@ -124,7 +124,7 @@ static bool nssprite_convert(struct content *c)
|
||||
content_broadcast_error(c, NSERROR_NOMEM, NULL);
|
||||
return false;
|
||||
}
|
||||
uint32_t* imagebuf = (uint32_t *)guit->bitmap->get_buffer(nssprite->bitmap);
|
||||
uint32_t* imagebuf = (uint32_t *)(void *)guit->bitmap->get_buffer(nssprite->bitmap);
|
||||
if (!imagebuf) {
|
||||
content_broadcast_error(c, NSERROR_NOMEM, NULL);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user