summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-op-run.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-05-13 14:19:57 +0200
committerTor Andersson <tor.andersson@artifex.com>2014-05-13 14:44:18 +0200
commit4a1d6f9886c141e165c281f127c0cb387c6407d6 (patch)
treed031c88c4485731e1f06e52235fe24d7b48e8f4b /source/pdf/pdf-op-run.c
parent11366353e1e88805f25053825cfd99be035cd245 (diff)
downloadmupdf-4a1d6f9886c141e165c281f127c0cb387c6407d6.tar.xz
Fix signedness in cmap interface.
Diffstat (limited to 'source/pdf/pdf-op-run.c')
-rw-r--r--source/pdf/pdf-op-run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c
index ab1bf246..2f4a8c0a 100644
--- a/source/pdf/pdf-op-run.c
+++ b/source/pdf/pdf-op-run.c
@@ -1197,7 +1197,8 @@ pdf_show_string(pdf_csi *csi, pdf_run_state *pr, unsigned char *buf, int len)
pdf_gstate *gstate = pr->gstate + pr->gtop;
pdf_font_desc *fontdesc = gstate->font;
unsigned char *end = buf + len;
- int cpt, cid;
+ unsigned int cpt;
+ int cid;
if (!fontdesc)
{