diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-09 15:21:15 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-09 15:36:25 +0000 |
commit | 145087f15002b65666ca21e57f17e46528318ea0 (patch) | |
tree | 3aaff93cce60e59392479076d09d8c066b20c9cf | |
parent | ee3c576fae644f1c247ebd138f7199f5ed8f4664 (diff) | |
download | mupdf-145087f15002b65666ca21e57f17e46528318ea0.tar.xz |
Squash 2 warnings (fz_obj * != int).
-rw-r--r-- | pdf/pdf_xref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_xref.c b/pdf/pdf_xref.c index c27e9d75..87a71aaf 100644 --- a/pdf/pdf_xref.c +++ b/pdf/pdf_xref.c @@ -707,8 +707,8 @@ pdf_open_xref_with_stream(fz_stream *file, char *password) pdf_repair_obj_stms(xref); } - hasroot = fz_dict_gets(xref->trailer, "Root"); - hasinfo = fz_dict_gets(xref->trailer, "Info"); + hasroot = (fz_dict_gets(xref->trailer, "Root") != NULL); + hasinfo = (fz_dict_gets(xref->trailer, "Info") != NULL); for (i = 1; i < xref->len; i++) { |