From 199f86dcf10bc62b9428f012381e32728bff3014 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 5 Mar 2024 11:58:16 +0000 Subject: [PATCH] avoid increased alignment warning --- content/handlers/image/nssprite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/handlers/image/nssprite.c b/content/handlers/image/nssprite.c index a98c48aa2..c18f49063 100644 --- a/content/handlers/image/nssprite.c +++ b/content/handlers/image/nssprite.c @@ -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;