diff options
Diffstat (limited to 'image/nssprite.c')
-rw-r--r-- | image/nssprite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/image/nssprite.c b/image/nssprite.c index 950904e52..e361a6600 100644 --- a/image/nssprite.c +++ b/image/nssprite.c @@ -78,7 +78,7 @@ bool nssprite_convert(struct content *c, int width, int height) content_broadcast(c, CONTENT_MSG_ERROR, msg_data); return false; } - char* imagebuf = bitmap_get_buffer(c->bitmap); + unsigned char* imagebuf = bitmap_get_buffer(c->bitmap); if (!imagebuf) { msg_data.error = messages_get("NoMemory"); content_broadcast(c, CONTENT_MSG_ERROR, msg_data); |