Explicit cast in line 378 to uint8_t* needed for some build configs (i.e. mine) to avoid error.
This commit is contained in:
parent
8c2304cdfe
commit
8688e7e505
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ didReceiveResponse:(NSURLResponse *)response
|
||||||
|
|
||||||
if (self.outputStream) {
|
if (self.outputStream) {
|
||||||
if ([self.outputStream hasSpaceAvailable]) {
|
if ([self.outputStream hasSpaceAvailable]) {
|
||||||
const uint8_t *dataBuffer = [data bytes];
|
const uint8_t *dataBuffer = (uint8_t *) [data bytes];
|
||||||
[self.outputStream write:&dataBuffer[0] maxLength:[data length]];
|
[self.outputStream write:&dataBuffer[0] maxLength:[data length]];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue