fixed a compiler warning

pull/7120/head
Makarand Dharmapurikar 9 years ago
parent 0475549e8a
commit c66ac4f8da
  1. 2
      src/objective-c/GRPCClient/private/NSData+GRPC.m

@ -71,7 +71,7 @@ static grpc_byte_buffer *CopyCharArrayToNewByteBuffer(const char *array,
}
char *array;
NSUInteger length;
MallocAndCopyByteBufferToCharArray(buffer, &length, &array);
MallocAndCopyByteBufferToCharArray(buffer, (size_t *)&length, &array);
if (!array) {
// TODO(jcanizales): grpc_byte_buffer is reference-counted, so we can
// prevent this memory problem by implementing a subclass of NSData

Loading…
Cancel
Save