diff options
author | Makarand Dharmapurikar <makarandd@google.com> | 2016-06-29 09:34:58 -0700 |
---|---|---|
committer | Makarand Dharmapurikar <makarandd@google.com> | 2016-06-29 09:34:58 -0700 |
commit | c66ac4f8da99e0dc1c08a3d6396575210f85c828 (patch) | |
tree | eb256416ef80730c828fdd3763f8ca1624f8307e /src/objective-c/GRPCClient | |
parent | 0475549e8ae53e4dbc3193feb3b2c0221f4c7fec (diff) |
fixed a compiler warning
Diffstat (limited to 'src/objective-c/GRPCClient')
-rw-r--r-- | src/objective-c/GRPCClient/private/NSData+GRPC.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/NSData+GRPC.m b/src/objective-c/GRPCClient/private/NSData+GRPC.m index 741b70b575..6487bcb589 100644 --- a/src/objective-c/GRPCClient/private/NSData+GRPC.m +++ b/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 |