summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-cmap-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-cmap-parse.c b/source/pdf/pdf-cmap-parse.c
index 594d43c8..38d98194 100644
--- a/source/pdf/pdf-cmap-parse.c
+++ b/source/pdf/pdf-cmap-parse.c
@@ -10,7 +10,7 @@
static int
pdf_code_from_string(char *buf, int len)
{
- int a = 0;
+ unsigned int a = 0;
while (len--)
a = (a << 8) | *(unsigned char *)buf++;
return a;