summaryrefslogtreecommitdiff
path: root/include/fitz/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fitz/file.h')
-rw-r--r--include/fitz/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fitz/file.h b/include/fitz/file.h
index 6179085a..c87ccf5d 100644
--- a/include/fitz/file.h
+++ b/include/fitz/file.h
@@ -26,13 +26,13 @@ int fz_tell(fz_file *f);
int fz_readbyte(fz_file *f);
int fz_peekbyte(fz_file *f);
int fz_readline(fz_file *f, char *buf, int n);
-int fz_read(fz_file *f, char *buf, int n);
+int fz_read(fz_file *f, unsigned char *buf, int n);
fz_error *fz_readfile(fz_buffer **bufp, fz_file *file);
int fz_printstring(fz_file *f, char *s);
int fz_printobj(fz_file *f, fz_obj *o, int tight);
int fz_print(fz_file *f, char *fmt, ...);
-int fz_write(fz_file *f, char *buf, int n);
+int fz_write(fz_file *f, unsigned char *buf, int n);
int fz_flush(fz_file *f);