Explicit cast in line 378 to uint8_t* needed for some build configs (i.e. mine) to avoid error.

This commit is contained in:
Charlie Williams 2012-01-18 20:18:21 +00:00 committed by Mattt Thompson
parent 8c2304cdfe
commit 8688e7e505

View file

@ -375,7 +375,7 @@ didReceiveResponse:(NSURLResponse *)response
if (self.outputStream) {
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]];
}
} else {