mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
Further fixes for unsigned int being used as an intptr
svn path=/trunk/netsurf/; revision=4082
This commit is contained in:
parent
7614b26944
commit
79acb8b08c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user