Enable deprecated prototypes when compiling deprecated functions. Some integer conversion fixes.
diff --git a/lib/zip_utf-8.c b/lib/zip_utf-8.c index 4b8e4b1..c0ad7fe 100644 --- a/lib/zip_utf-8.c +++ b/lib/zip_utf-8.c
@@ -122,8 +122,7 @@ { enum zip_encoding_type enc; const zip_uint8_t *name; - zip_uint32_t i; - int j, ulen; + zip_uint32_t i, j, ulen; if (str == NULL) return ZIP_ENCODING_ASCII;