Enable deprecated prototypes when compiling deprecated functions.
Some integer conversion fixes.
diff --git a/lib/zip_rename.c b/lib/zip_rename.c
index 41f63b9..8841cae 100644
--- a/lib/zip_rename.c
+++ b/lib/zip_rename.c
@@ -35,6 +35,7 @@
 
 #include <string.h>
 
+#define _ZIP_COMPILING_DEPRECATED
 #include "zipint.h"