aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-06-24 16:21:51 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-06-24 16:21:51 -0700
commit4a77f3b311c0859a97a8b69d39f90da21330ffba (patch)
tree6261fa572a89252f546991bd730c888ea4450496 /src/objective-c/GRPCClient
parent66daf23401dd96b3fc6097738b7abfa8a43b709a (diff)
Remove const cast warning in GRPCSecureChannel.m
Diffstat (limited to 'src/objective-c/GRPCClient')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCSecureChannel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCSecureChannel.m b/src/objective-c/GRPCClient/private/GRPCSecureChannel.m
index 2cbc6e0f83..0f6eece885 100644
--- a/src/objective-c/GRPCClient/private/GRPCSecureChannel.m
+++ b/src/objective-c/GRPCClient/private/GRPCSecureChannel.m
@@ -38,7 +38,7 @@
@implementation GRPCSecureChannel
- (instancetype)initWithHost:(NSString *)host {
- static const grpc_credentials *kCredentials;
+ static grpc_credentials *kCredentials;
static dispatch_once_t loading;
dispatch_once(&loading, ^{
// Do not use NSBundle.mainBundle, as it's nil for tests of library projects.