diff options
| author | 2010-01-13 01:45:42 +0100 | |
|---|---|---|
| committer | 2010-01-13 01:54:05 +0100 | |
| commit | 471c997e66015a093afa9146d764d678514fed52 (patch) | |
| tree | 70df4bc44ce21ed68c1f246564edeab9543dd3b8 /swig/iphone.i | |
| parent | 5c19d486959454560515666b0d250c20d9938d00 (diff) | |
| download | libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.gz libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.bz2 | |
lockdown/tools/python: use correct type for port parameter
Diffstat (limited to 'swig/iphone.i')
| -rw-r--r-- | swig/iphone.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/iphone.i b/swig/iphone.i index de6b80f..f1969ed 100644 --- a/swig/iphone.i +++ b/swig/iphone.i | |||
| @@ -85,7 +85,7 @@ void my_delete_Lockdownd(Lockdownd* lckd) { | |||
| 85 | MobileSync* my_new_MobileSync(Lockdownd* lckd) { | 85 | MobileSync* my_new_MobileSync(Lockdownd* lckd) { |
| 86 | if (!lckd || !lckd->dev) return NULL; | 86 | if (!lckd || !lckd->dev) return NULL; |
| 87 | MobileSync* client = NULL; | 87 | MobileSync* client = NULL; |
| 88 | int port = 0; | 88 | uint16_t port = 0; |
| 89 | if (LOCKDOWN_E_SUCCESS == lockdownd_start_service(lckd->client, "com.apple.mobilesync", &port)) { | 89 | if (LOCKDOWN_E_SUCCESS == lockdownd_start_service(lckd->client, "com.apple.mobilesync", &port)) { |
| 90 | client = (MobileSync*) malloc(sizeof(MobileSync)); | 90 | client = (MobileSync*) malloc(sizeof(MobileSync)); |
| 91 | client->dev = lckd->dev; | 91 | client->dev = lckd->dev; |
