summaryrefslogtreecommitdiff
path: root/image/bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/bmp.c')
-rw-r--r--image/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/bmp.c b/image/bmp.c
index 4e1c5f762..ed1ea6c02 100644
--- a/image/bmp.c
+++ b/image/bmp.c
@@ -52,7 +52,7 @@ bool nsbmp_convert(struct content *c, int iwidth, int iheight) {
/* set our source data */
bmp = c->data.bmp.bmp;
- bmp->bmp_data = c->source_data;
+ bmp->bmp_data = (unsigned char *) c->source_data;
bmp->buffer_size = c->source_size;
/* analyse the BMP */