Permalink
Browse files

Cast port

Shouldn't ever overflow a 32 bit integer, as that would be a crazy high port that 32 bit apps couldn't handle!
  • Loading branch information...
1 parent a032ddb commit 9e44b5f13c775d5122bef5f8c929e8589d761bdf @mikeabdullah mikeabdullah committed Jan 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 CK2SSHCredential.m
View
@@ -520,7 +520,7 @@ - (BOOL)ck2_setCredential:(NSURLCredential *)credential forSSHHost:(NSString *)h
"error description"),
[credential user],
host,
- port];
+ (int)port];
// Note a crazily empty password
if (![password length]) opDescription = [opDescription stringByAppendingFormat:

0 comments on commit 9e44b5f

Please sign in to comment.