diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2008-04-07 10:37:21 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2008-04-07 10:37:21 +0000 |
commit | 79acb8b08c22ad15a54f93e66516904fe133232d (patch) | |
tree | 0a061c7bf8801f2913dd561750b8bc2729547256 | |
parent | 7614b2694466d490ea150b2dd33766d4c1015e7f (diff) | |
download | netsurf-79acb8b08c22ad15a54f93e66516904fe133232d.tar.gz netsurf-79acb8b08c22ad15a54f93e66516904fe133232d.tar.bz2 |
Further fixes for unsigned int being used as an intptr
svn path=/trunk/netsurf/; revision=4082
-rw-r--r-- | image/bmpread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/image/bmpread.c b/image/bmpread.c index 161145b56..7e6a9fefa 100644 --- a/image/bmpread.c +++ b/image/bmpread.c @@ -419,7 +419,7 @@ bmp_result bmp_decode_rgb24(struct bmp_image *bmp, char **start, int bytes) { char *top, *bottom, *end, *data; unsigned int *scanline; unsigned int x, y, swidth, skip; - unsigned int addr; + intptr_t addr; unsigned int i, word; data = *start; @@ -479,7 +479,7 @@ bmp_result bmp_decode_rgb16(struct bmp_image *bmp, char **start, int bytes) { char *top, *bottom, *end, *data; unsigned int *scanline; unsigned int x, y, swidth; - unsigned int addr; + intptr_t addr; unsigned int word, i; data = *start; @@ -538,7 +538,7 @@ bmp_result bmp_decode_rgb16(struct bmp_image *bmp, char **start, int bytes) { bmp_result bmp_decode_rgb(struct bmp_image *bmp, char **start, int bytes) { char *top, *bottom, *end, *data; unsigned int *scanline; - unsigned int addr; + intptr_t addr; unsigned int x, y, swidth; int i; int bit_shifts[8]; @@ -592,7 +592,7 @@ bmp_result bmp_decode_rgb(struct bmp_image *bmp, char **start, int bytes) { bmp_result bmp_decode_mask(struct bmp_image *bmp, char *data, int bytes) { char *top, *bottom, *end; unsigned int *scanline; - unsigned int addr; + intptr_t addr; unsigned int x, y, swidth; int cur_byte = 0; |