updated several types for osx Compatibility

Hello:
I imported ZipArchive to my cocoa project, and Xcode 5 show me several warnings due to basic type issue. Then I fixed them and sending this PR. : D 
Best Regards