summaryrefslogtreecommitdiff
path: root/content/handlers/image/bmp.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-05-05 22:46:40 +0100
committerVincent Sanders <vince@kyllikki.org>2019-05-05 22:50:25 +0100
commit35bc2ccbb89a6b499e0e3b6f7095afea214f0c59 (patch)
treecd494ae1e33ab55d0e644d11eb973ddde4decbb6 /content/handlers/image/bmp.c
parentf966580d22d47ab97bceb2f067fc2b9402af01b7 (diff)
downloadnetsurf-35bc2ccbb89a6b499e0e3b6f7095afea214f0c59.tar.gz
netsurf-35bc2ccbb89a6b499e0e3b6f7095afea214f0c59.tar.bz2
change content get_source_data interfaces to return uint8_t and size_t
previously these interfaces returned char * and unsigned int which was undesirable.
Diffstat (limited to 'content/handlers/image/bmp.c')
-rw-r--r--content/handlers/image/bmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/image/bmp.c b/content/handlers/image/bmp.c
index 48a37fb24..75d8880f3 100644
--- a/content/handlers/image/bmp.c
+++ b/content/handlers/image/bmp.c
@@ -122,8 +122,8 @@ static bool nsbmp_convert(struct content *c)
nsbmp_content *bmp = (nsbmp_content *) c;
bmp_result res;
uint32_t swidth;
- const char *data;
- unsigned long size;
+ const uint8_t *data;
+ size_t size;
char *title;
/* set the bmp data */