Showing
2 changed files
with
3 additions
and
3 deletions
@@ -85,7 +85,7 @@ | @@ -85,7 +85,7 @@ | ||
85 | [outputData increaseLengthBy:halfLength]; | 85 | [outputData increaseLengthBy:halfLength]; |
86 | } | 86 | } |
87 | 87 | ||
88 | - zStream.next_out = [outputData mutableBytes] + zStream.total_out-bytesProcessedAlready; | 88 | + zStream.next_out = (Bytef*)[outputData mutableBytes] + zStream.total_out-bytesProcessedAlready; |
89 | zStream.avail_out = (unsigned int)([outputData length] - (zStream.total_out-bytesProcessedAlready)); | 89 | zStream.avail_out = (unsigned int)([outputData length] - (zStream.total_out-bytesProcessedAlready)); |
90 | 90 | ||
91 | status = inflate(&zStream, Z_NO_FLUSH); | 91 | status = inflate(&zStream, Z_NO_FLUSH); |
@@ -181,7 +181,7 @@ | @@ -181,7 +181,7 @@ | ||
181 | } | 181 | } |
182 | 182 | ||
183 | // Write the inflated data out to the destination file | 183 | // Write the inflated data out to the destination file |
184 | - [outputStream write:[outputData bytes] maxLength:[outputData length]]; | 184 | + [outputStream write:(Bytef*)[outputData bytes] maxLength:[outputData length]]; |
185 | 185 | ||
186 | // Make sure nothing went wrong | 186 | // Make sure nothing went wrong |
187 | if ([inputStream streamStatus] == NSStreamEventErrorOccurred) { | 187 | if ([inputStream streamStatus] == NSStreamEventErrorOccurred) { |
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | #import "ASIDataCompressor.h" | 24 | #import "ASIDataCompressor.h" |
25 | 25 | ||
26 | // Automatically set on build | 26 | // Automatically set on build |
27 | -NSString *ASIHTTPRequestVersion = @"v1.8.1-44 2011-09-17"; | 27 | +NSString *ASIHTTPRequestVersion = @"v1.8.1-49 2011-09-19"; |
28 | 28 | ||
29 | static NSString *defaultUserAgent = nil; | 29 | static NSString *defaultUserAgent = nil; |
30 | 30 |
-
Please register or login to post a comment