diff options
author | Dawn K. Isabel | 2013-05-30 23:36:52 -0400 |
---|---|---|
committer | Martin Szulecki | 2013-05-31 12:00:22 +0200 |
commit | 62ab50f64fa210304338a5bfccdc6a26fac5f0ec (patch) | |
tree | 5255fce16d10836896c973ac1bdd12bab7b31ca1 /cython | |
parent | 7412042b144b75718d84d14f2d0a1c0b11afc61d (diff) | |
download | libimobiledevice-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.pxi | 2 |
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) |