summaryrefslogtreecommitdiff
path: root/include/fitz/file.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-16 08:58:17 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-16 08:58:17 +0100
commit3b425b8bf0c58e25da576ed86496171ea19240f9 (patch)
tree37d6feb715dd929392fb16fdde6cf994dfbc1397 /include/fitz/file.h
parent49132f70ac40b2dc7b9a0e22b33a3964af687874 (diff)
downloadmupdf-3b425b8bf0c58e25da576ed86496171ea19240f9.tar.xz
removed c99-isms. improved bbox handling.
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);