Use zip_flags_t, as in prototype.
Found on
https://github.com/freebasic/fbc/blob/master/contrib/libs/src/libzip-dos.patch
diff --git a/lib/zip_get_archive_flag.c b/lib/zip_get_archive_flag.c
index c3be5c1..7be5a3f 100644
--- a/lib/zip_get_archive_flag.c
+++ b/lib/zip_get_archive_flag.c
@@ -38,7 +38,7 @@
 
 
 ZIP_EXTERN int
-zip_get_archive_flag(struct zip *za, unsigned int flag, zip_flags_t flags)
+zip_get_archive_flag(struct zip *za, zip_flags_t flag, zip_flags_t flags)
 {
     unsigned int fl;
 
diff --git a/lib/zip_set_archive_flag.c b/lib/zip_set_archive_flag.c
index b6cdab1..68f99b8 100644
--- a/lib/zip_set_archive_flag.c
+++ b/lib/zip_set_archive_flag.c
@@ -38,7 +38,7 @@
 
 
 ZIP_EXTERN int
-zip_set_archive_flag(struct zip *za, unsigned int flag, int value)
+zip_set_archive_flag(struct zip *za, zip_flags_t flag, int value)
 {
     unsigned int new_flags;