diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-02-25 17:58:00 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-02-25 17:58:00 +0000 |
commit | 1cf46a6792a9e243edb857e131e44338bcbbd341 (patch) | |
tree | 9d145155307f4bc19746e486c7cd49ef897a49a1 /image/bmp.c | |
parent | 674591f63df9c9b1e8e02aef4992a24b39cda0fc (diff) | |
download | netsurf-1cf46a6792a9e243edb857e131e44338bcbbd341.tar.gz netsurf-1cf46a6792a9e243edb857e131e44338bcbbd341.tar.bz2 |
SignednessWarnings.squash()
Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice.
svn path=/trunk/netsurf/; revision=3868
Diffstat (limited to 'image/bmp.c')
-rw-r--r-- | image/bmp.c | 2 |
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 */ |