Remove warnings from the 2.0 release

This commit is contained in:
Joshua Hudson
2017-07-19 12:33:46 -07:00
parent b64a644f04
commit 66ab1372d8
4 changed files with 11 additions and 7 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
PODS:
- SSZipArchive (2.0.0)
- SSZipArchive (2.0.1)
DEPENDENCIES:
- SSZipArchive (from `..`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ".."
SPEC CHECKSUMS:
SSZipArchive: 8153333145bf99acaf1918d257fdcef68a9269e1
SSZipArchive: 6678776f378494909195d3f1b3f00d91e76084f9
PODFILE CHECKSUM: 7f4058a9cbc69b4e63808729577a8bb2098bc527
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SSZipArchive'
s.version = '2.0.0'
s.version = '2.0.1'
s.summary = 'Utility class for zipping and unzipping files on iOS, tvOS, watchOS, and Mac.'
s.description = 'SSZipArchive is a simple utility class for zipping and unzipping files on iOS, tvOS, watchOS, and Mac.'
s.homepage = 'https://github.com/ZipArchive/ZipArchive'
+6 -2
View File
@@ -750,7 +750,9 @@ NSString *const SSZipArchiveErrorDomain = @"SSZipArchiveErrorDomain";
uLong permissionsLong = @(permissionsOctal).unsignedLongValue;
// Store this into the external file attributes once it has been shifted 16 places left to form part of the second from last byte
zipInfo.external_fa = permissionsLong << 16L;
//Casted back to an unsigned int to match type of external_fa in minizip
zipInfo.external_fa = (unsigned int)(permissionsLong << 16L);
}
}
@@ -812,7 +814,9 @@ NSString *const SSZipArchiveErrorDomain = @"SSZipArchiveErrorDomain";
uLong permissionsLong = @(permissionsOctal).unsignedLongValue;
// Store this into the external file attributes once it has been shifted 16 places left to form part of the second from last byte
zipInfo.external_fa = permissionsLong << 16L;
//Casted back to an unsigned int to match type of external_fa in minizip
zipInfo.external_fa = (unsigned int)(permissionsLong << 16L);
}
}
+2 -2
View File
@@ -1,5 +1,5 @@
PODS:
- SSZipArchive (2.0.0)
- SSZipArchive (2.0.1)
DEPENDENCIES:
- SSZipArchive (from `..`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ".."
SPEC CHECKSUMS:
SSZipArchive: 8153333145bf99acaf1918d257fdcef68a9269e1
SSZipArchive: 6678776f378494909195d3f1b3f00d91e76084f9
PODFILE CHECKSUM: 0dc500eb72745751ccba7677de4da5534fcef36d