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 --- swig/iphone.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swig') 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; -- cgit v1.1-32-gdbae