diff options
| author | 2010-01-13 01:45:42 +0100 | |
|---|---|---|
| committer | 2010-01-13 01:54:05 +0100 | |
| commit | 471c997e66015a093afa9146d764d678514fed52 (patch) | |
| tree | 70df4bc44ce21ed68c1f246564edeab9543dd3b8 /dev/iphoneclient.c | |
| parent | 5c19d486959454560515666b0d250c20d9938d00 (diff) | |
| download | libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.gz libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.bz2 | |
lockdown/tools/python: use correct type for port parameter
Diffstat (limited to 'dev/iphoneclient.c')
| -rw-r--r-- | dev/iphoneclient.c | 6 |
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 | ||
| 40 | static void perform_notification(iphone_device_t phone, lockdownd_client_t client, const char *notification) | 40 | static 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 | |||
| 59 | int main(int argc, char *argv[]) | 59 | int 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; |
