summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-13 01:45:42 +0100
committerGravatar Martin Szulecki2010-01-13 01:54:05 +0100
commit471c997e66015a093afa9146d764d678514fed52 (patch)
tree70df4bc44ce21ed68c1f246564edeab9543dd3b8 /swig
parent5c19d486959454560515666b0d250c20d9938d00 (diff)
downloadlibimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.gz
libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.bz2
lockdown/tools/python: use correct type for port parameter
Diffstat (limited to 'swig')
-rw-r--r--swig/iphone.i2
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) {
MobileSync* my_new_MobileSync(Lockdownd* lckd) {
if (!lckd || !lckd->dev) return NULL;
MobileSync* client = NULL;
- int port = 0;
+ uint16_t port = 0;
if (LOCKDOWN_E_SUCCESS == lockdownd_start_service(lckd->client, "com.apple.mobilesync", &port)) {
client = (MobileSync*) malloc(sizeof(MobileSync));
client->dev = lckd->dev;