summaryrefslogtreecommitdiffstats
path: root/dev/iphoneclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/iphoneclient.c')
-rw-r--r--dev/iphoneclient.c6
1 files changed, 3 insertions, 3 deletions
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)
39 39
40static void perform_notification(iphone_device_t phone, lockdownd_client_t client, const char *notification) 40static void perform_notification(iphone_device_t phone, lockdownd_client_t client, const char *notification)
41{ 41{
42 int nport = 0; 42 uint16_t nport = 0;
43 np_client_t np; 43 np_client_t np;
44 44
45 lockdownd_start_service(client, "com.apple.mobile.notification_proxy", &nport); 45 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
59int main(int argc, char *argv[]) 59int main(int argc, char *argv[])
60{ 60{
61 unsigned int bytes = 0; 61 unsigned int bytes = 0;
62 int port = 0, i = 0; 62 uint16_t port = 0, i = 0;
63 int npp; 63 uint16_t npp;
64 lockdownd_client_t client = NULL; 64 lockdownd_client_t client = NULL;
65 iphone_device_t phone = NULL; 65 iphone_device_t phone = NULL;
66 uint64_t lockfile = 0; 66 uint64_t lockfile = 0;