summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
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);