aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/minizip/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c
index 37cafbf8..b6c7550e 100644
--- a/contrib/minizip/zip.c
+++ b/contrib/minizip/zip.c
@@ -1252,7 +1252,7 @@ local int Write_LocalFileHeader(zip64_internal* zi, const char* filename, uInt s
1252// of bytes examined in order to determine it was bad. Or if minus the return 1252// of bytes examined in order to determine it was bad. Or if minus the return
1253// code is one less than len, then at least one more byte than provided would 1253// code is one less than len, then at least one more byte than provided would
1254// be needed to complete the code. 1254// be needed to complete the code.
1255local inline int utf8len(unsigned char const *str, size_t len) { 1255local int utf8len(unsigned char const *str, size_t len) {
1256 return 1256 return
1257 len == 0 ? -1 : // empty input 1257 len == 0 ? -1 : // empty input
1258 str[0] < 0x80 ? 1 : // good one-byte 1258 str[0] < 0x80 ? 1 : // good one-byte