diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-02 20:02:40 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-03 18:10:50 +0000 |
commit | 6e2a71d0b743c105c71f88a7ed1de0851cdd90ca (patch) | |
tree | 8bd6d452d6b4686f509e6478edf13f267621d6f3 /source/html/epub-doc.c | |
parent | 0289421f68b810cee600a5a047507091ff4731df (diff) | |
download | mupdf-6e2a71d0b743c105c71f88a7ed1de0851cdd90ca.tar.xz |
Fix signed/unsigned and size_t/int/fz_off_t warnings.
All seen in MSVC, mostly in 64bit builds.
Diffstat (limited to 'source/html/epub-doc.c')
-rw-r--r-- | source/html/epub-doc.c | 2 |
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; |