summaryrefslogtreecommitdiff
path: root/test/pdfdebug.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-07 04:15:51 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-07 04:15:51 +0200
commit94a96e0ce2be0e32f59ea43f1166a884ca30222d (patch)
tree05d123cd5ea355a015978758eb3d83a4ab779b4b /test/pdfdebug.c
parent59bd2f5bfc486b107c4bd689bd65ea7d23e2fad0 (diff)
downloadmupdf-94a96e0ce2be0e32f59ea43f1166a884ca30222d.tar.xz
openfile append mode. changed O_*ONLY to FZ_* enums.
Diffstat (limited to 'test/pdfdebug.c')
-rw-r--r--test/pdfdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pdfdebug.c b/test/pdfdebug.c
index 1009849f..bf3de918 100644
--- a/test/pdfdebug.c
+++ b/test/pdfdebug.c
@@ -94,7 +94,7 @@ void copystream(pdf_xref *xref, fz_obj *stream, int ofs)
error = fz_newnullfilter(&filter, len);
if (error) fz_abort(error);
- fz_seek(xref->file, ofs);
+ fz_seek(xref->file, ofs, 0);
error = fz_pushfilter(xref->file, filter);
if (error) fz_abort(error);