diff options
| author | 2013-05-30 23:36:52 -0400 | |
|---|---|---|
| committer | 2013-05-31 12:00:22 +0200 | |
| commit | 62ab50f64fa210304338a5bfccdc6a26fac5f0ec (patch) | |
| tree | 5255fce16d10836896c973ac1bdd12bab7b31ca1 | |
| parent | 7412042b144b75718d84d14f2d0a1c0b11afc61d (diff) | |
| download | libimobiledevice-62ab50f64fa210304338a5bfccdc6a26fac5f0ec.tar.gz libimobiledevice-62ab50f64fa210304338a5bfccdc6a26fac5f0ec.tar.bz2 | |
cython: Explicitly cast ssl_enabled when calling lockdownd_start_session
| -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): | |||
| 221 | char* c_session_id = NULL | 221 | char* c_session_id = NULL |
| 222 | bint ssl_enabled | 222 | bint ssl_enabled |
| 223 | bytes session_id | 223 | bytes session_id |
| 224 | err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled) | 224 | err = lockdownd_start_session(self._c_client, host_id, &c_session_id, <int *>&ssl_enabled) |
| 225 | try: | 225 | try: |
| 226 | self.handle_error(err) | 226 | self.handle_error(err) |
| 227 | 227 | ||
