diff options
author | Muxi Yan <mxyan@google.com> | 2017-09-11 12:22:49 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-09-11 12:22:49 -0700 |
commit | afa47005015295e65b932403142938f9bb9b72fc (patch) | |
tree | 9693faea6e8f6e16be1ec3aced86704f7f5a0672 /src/objective-c/GRPCClient/private/GRPCWrappedCall.m | |
parent | c7c8e3cb1712438c64b1212911b6c22165982426 (diff) |
Use Apple internal type for timeout
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCWrappedCall.m')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index 7366f31931..b0b1223b64 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m @@ -244,7 +244,7 @@ - (instancetype)initWithHost:(NSString *)host serverName:(NSString *)serverName path:(NSString *)path - timeout:(UInt64)timeout { + timeout:(NSTimeInterval)timeout { if (!path || !host) { [NSException raise:NSInvalidArgumentException format:@"path and host cannot be nil."]; |