summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Dawn K. Isabel2013-05-30 23:36:52 -0400
committerGravatar Martin Szulecki2013-05-31 12:00:22 +0200
commit62ab50f64fa210304338a5bfccdc6a26fac5f0ec (patch)
tree5255fce16d10836896c973ac1bdd12bab7b31ca1 /cython
parent7412042b144b75718d84d14f2d0a1c0b11afc61d (diff)
downloadlibimobiledevice-62ab50f64fa210304338a5bfccdc6a26fac5f0ec.tar.gz
libimobiledevice-62ab50f64fa210304338a5bfccdc6a26fac5f0ec.tar.bz2
cython: Explicitly cast ssl_enabled when calling lockdownd_start_session
Diffstat (limited to 'cython')
-rw-r--r--cython/lockdown.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/lockdown.pxi b/cython/lockdown.pxi
index 6fb49a3..ee674b4 100644
--- a/cython/lockdown.pxi
+++ b/cython/lockdown.pxi
@@ -221,7 +221,7 @@ cdef class LockdownClient(PropertyListService):
char* c_session_id = NULL
bint ssl_enabled
bytes session_id
- err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled)
+ err = lockdownd_start_session(self._c_client, host_id, &c_session_id, <int *>&ssl_enabled)
try:
self.handle_error(err)