summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/nssprite.c2
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);