summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-13 14:11:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-13 14:11:05 +0000
commit9e68e32338513c358ae168f4be1c5ffdf4e4de87 (patch)
tree7272e20784ef9202b80d88054863e455b469f78d /image
parent905fa1f62468e570c808db95ad911de88be77a9a (diff)
downloadnetsurf-9e68e32338513c358ae168f4be1c5ffdf4e4de87.tar.gz
netsurf-9e68e32338513c358ae168f4be1c5ffdf4e4de87.tar.bz2
Warnings.squash();
svn path=/trunk/netsurf/; revision=5088
Diffstat (limited to 'image')
-rw-r--r--image/jpeg.c2
-rw-r--r--image/mng.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/image/jpeg.c b/image/jpeg.c
index ec2e62899..d49d49a4c 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -81,7 +81,7 @@ bool nsjpeg_convert(struct content *c, int w, int h)
unsigned int height;
unsigned int width;
struct bitmap *bitmap = NULL;
- char *pixels = NULL;
+ uint8_t *pixels = NULL;
size_t rowstride;
union content_msg_data msg_data;
diff --git a/image/mng.c b/image/mng.c
index d6902f4e9..fe0804976 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -202,7 +202,7 @@ mng_bool nsmng_closestream(mng_handle mng) {
mng_bool nsmng_processheader(mng_handle mng, mng_uint32 width, mng_uint32 height) {
struct content *c;
union content_msg_data msg_data;
- char *buffer;
+ uint8_t *buffer;
assert(mng != NULL);