diff options
Diffstat (limited to 'source/cbz')
-rw-r--r-- | source/cbz/mucbz.c | 2 | ||||
-rw-r--r-- | source/cbz/muimg.c | 2 | ||||
-rw-r--r-- | source/cbz/mutiff.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c index 2cbe3a80..309acd71 100644 --- a/source/cbz/mucbz.c +++ b/source/cbz/mucbz.c @@ -190,7 +190,7 @@ static int cbz_lookup_metadata(fz_context *ctx, cbz_document *doc, const char *key, char *buf, int size) { if (!strcmp(key, "format")) - return fz_strlcpy(buf, "CBZ", size); + return (int)fz_strlcpy(buf, "CBZ", size); return -1; } diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c index 41831cdf..d0087fa7 100644 --- a/source/cbz/muimg.c +++ b/source/cbz/muimg.c @@ -85,7 +85,7 @@ static int img_lookup_metadata(fz_context *ctx, img_document *doc, const char *key, char *buf, int size) { if (!strcmp(key, "format")) - return fz_strlcpy(buf, "Image", size); + return (int)fz_strlcpy(buf, "Image", size); return -1; } diff --git a/source/cbz/mutiff.c b/source/cbz/mutiff.c index 57e90ea3..ad859987 100644 --- a/source/cbz/mutiff.c +++ b/source/cbz/mutiff.c @@ -103,7 +103,7 @@ static int tiff_lookup_metadata(fz_context *ctx, tiff_document *doc, const char *key, char *buf, int size) { if (!strcmp(key, "format")) - return fz_strlcpy(buf, "TIFF", size); + return (int)fz_strlcpy(buf, "TIFF", size); return -1; } |