summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/sdremote/sdremote/Communication/Client.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/sdremote/sdremote/Communication/Client.m b/ios/sdremote/sdremote/Communication/Client.m
index 5637f964d3b9..c48ec12770d2 100644
--- a/ios/sdremote/sdremote/Communication/Client.m
+++ b/ios/sdremote/sdremote/Communication/Client.m
@@ -18,7 +18,7 @@
@property (nonatomic, strong) NSString* mPin;
@property (nonatomic, strong) NSString* mName;
-@property const int mPort;
+@property const uint mPort;
@property (nonatomic, weak) Server* mServer;
@property (nonatomic, weak) Receiver* mReceiver;
@@ -56,7 +56,7 @@ NSString * const CHARSET = @"UTF-8";
return self;
}
-- (void)streamOpenWithIp:(NSString *)ip withPortNumber:(int)portNumber
+- (void)streamOpenWithIp:(NSString *)ip withPortNumber:(uint)portNumber
{
CFReadStreamRef readStream;
CFWriteStreamRef writeStream;