summaryrefslogtreecommitdiff
path: root/stream/stm_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stm_open.c')
-rw-r--r--stream/stm_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stm_open.c b/stream/stm_open.c
index 6481288a..43d2a60b 100644
--- a/stream/stm_open.c
+++ b/stream/stm_open.c
@@ -205,7 +205,7 @@ fz_error * fz_openwbuffer(fz_stream **stmp, fz_buffer *buf)
return openbuffer(stmp, buf, FZ_SWRITE);
}
-fz_error * fz_openrmemory(fz_stream **stmp, char *mem, int len)
+fz_error * fz_openrmemory(fz_stream **stmp, unsigned char *mem, int len)
{
fz_error *error;
fz_buffer *buf;