summaryrefslogtreecommitdiff
path: root/source/html/epub-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/epub-doc.c')
-rw-r--r--source/html/epub-doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/epub-doc.c b/source/html/epub-doc.c
index 7b44107b..a30fbcd3 100644
--- a/source/html/epub-doc.c
+++ b/source/html/epub-doc.c
@@ -41,7 +41,7 @@ epub_resolve_link(fz_context *ctx, fz_document *doc_, const char *dest)
epub_chapter *ch;
const char *s = strchr(dest, '#');
- int n = s ? s - dest : strlen(dest);
+ size_t n = s ? s - dest : strlen(dest);
if (s && s[1] == 0)
s = NULL;