summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-09-30 16:44:36 +0200
committerTor Andersson <tor.andersson@artifex.com>2014-10-22 16:52:03 +0200
commit362d23df9f6151446419757d48a53ff33b67cf2f (patch)
tree7920610636677a715c748e138b8baffea6069410 /source/pdf
parent60d6fd50d6817e8fd7aa1873f4a8063f1e56768f (diff)
downloadmupdf-362d23df9f6151446419757d48a53ff33b67cf2f.tar.xz
Fix warnings.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-unicode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/pdf/pdf-unicode.c b/source/pdf/pdf-unicode.c
index 6b893051..d51d580b 100644
--- a/source/pdf/pdf-unicode.c
+++ b/source/pdf/pdf-unicode.c
@@ -24,7 +24,8 @@ static pdf_cmap *
pdf_remap_cmap(fz_context *ctx, pdf_cmap *gid_from_cpt, pdf_cmap *ucs_from_cpt)
{
pdf_cmap *ucs_from_gid;
- unsigned int i, a, b, x;
+ unsigned int a, b, x;
+ int i;
ucs_from_gid = pdf_new_cmap(ctx);