diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-06-24 17:23:00 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-06-24 17:23:00 -0700 |
commit | 0bf7e48ade52eec336f50dee4c7d22eeb887bb8e (patch) | |
tree | 43dbfdcbd854adbf1770312c2e9a9b5ed8dd1f8a | |
parent | e7324878a9122bc53e5101e835427557dee2f496 (diff) | |
parent | 4a77f3b311c0859a97a8b69d39f90da21330ffba (diff) |
Merge pull request #2209 from murgatroid99/objective_c_const_conversion
Remove const cast warning in GRPCSecureChannel.m
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCSecureChannel.m | 2 |
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. |