Fixed use of 64 bit APIs; bumped version to 0.8.3

This commit is contained in:
Gianluca Bertani
2013-06-23 14:13:34 +02:00
parent ae5dad01c2
commit 1f0a183797
10 changed files with 67 additions and 67 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
//
// ZipWriteStream.m
// Objective-Zip v. 0.8.2
// Objective-Zip v. 0.8.3
//
// Created by Gianluca Bertani on 25/12/09.
// Copyright 2009-10 Flying Dolphin Studio. All rights reserved.
@@ -52,7 +52,7 @@
- (void) writeData:(NSData *)data {
int err= zipWriteInFileInZip(_zipFile, [data bytes], [data length]);
if (err < 0) {
NSString *reason= [NSString stringWithFormat:@"Error in writing '%@' in the zipfile", _fileNameInZip];
NSString *reason= [NSString stringWithFormat:@"Error writing '%@' in the zipfile", _fileNameInZip];
@throw [[[ZipException alloc] initWithError:err reason:reason] autorelease];
}
}
@@ -60,7 +60,7 @@
- (void) finishedWriting {
int err= zipCloseFileInZip(_zipFile);
if (err != ZIP_OK) {
NSString *reason= [NSString stringWithFormat:@"Error in closing '%@' in the zipfile", _fileNameInZip];
NSString *reason= [NSString stringWithFormat:@"Error closing '%@' in the zipfile", _fileNameInZip];
@throw [[[ZipException alloc] initWithError:err reason:reason] autorelease];
}
}