From 471c997e66015a093afa9146d764d678514fed52 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 13 Jan 2010 01:45:42 +0100 Subject: lockdown/tools/python: use correct type for port parameter --- dev/iphoneclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev/iphoneclient.c') diff --git a/dev/iphoneclient.c b/dev/iphoneclient.c index eaced60..eab903c 100644 --- a/dev/iphoneclient.c +++ b/dev/iphoneclient.c @@ -39,7 +39,7 @@ static void notifier(const char *notification) static void perform_notification(iphone_device_t phone, lockdownd_client_t client, const char *notification) { - int nport = 0; + uint16_t nport = 0; np_client_t np; lockdownd_start_service(client, "com.apple.mobile.notification_proxy", &nport); @@ -59,8 +59,8 @@ static void perform_notification(iphone_device_t phone, lockdownd_client_t clien int main(int argc, char *argv[]) { unsigned int bytes = 0; - int port = 0, i = 0; - int npp; + uint16_t port = 0, i = 0; + uint16_t npp; lockdownd_client_t client = NULL; iphone_device_t phone = NULL; uint64_t lockfile = 0; -- cgit v1.1-32-gdbae