aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-19 10:15:02 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-19 10:15:02 -0700
commit2d903f4732ee21c5c319c88aa738671b56b2e729 (patch)
treef7421c19b7aac540a8ee02aa9d17e6f7792b1e55 /src/objective-c/ProtoRPC/ProtoRPC.m
parent9925c13b2710a313d489fd040f0d7f312af0f1fc (diff)
More specific typing in response handlers
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.m')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m
index b04b6aca67..44e9bfde0a 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.m
+++ b/src/objective-c/ProtoRPC/ProtoRPC.m
@@ -168,7 +168,7 @@
if (_handler) {
id<GRPCProtoResponseHandler> handler = _handler;
NSError *error = nil;
- id parsed = [_responseClass parseFromData:message error:&error];
+ GPBMessage *parsed = [_responseClass parseFromData:message error:&error];
if (parsed) {
if ([handler respondsToSelector:@selector(receivedProtoMessage:)]) {
dispatch_async(handler.dispatchQueue, ^{