diff options
author | Martin Szulecki | 2013-02-27 16:27:18 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-27 16:27:18 +0100 |
commit | caacadcb26f1d60151040c5e83baed731479d4f8 (patch) | |
tree | d6ea10f9a9fbb0cc8fd409ddbcb4f25f3776390d | |
parent | dbe4017314f23f06301fd5017a9e888c6a604bfb (diff) | |
download | libimobiledevice-caacadcb26f1d60151040c5e83baed731479d4f8.tar.gz libimobiledevice-caacadcb26f1d60151040c5e83baed731479d4f8.tar.bz2 |
heartbeat: Fix compile time warning by casting returned error code
-rw-r--r-- | src/heartbeat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heartbeat.c b/src/heartbeat.c index 0f8d2f3..791cdb2 100644 --- a/src/heartbeat.c +++ b/src/heartbeat.c @@ -113,7 +113,7 @@ heartbeat_error_t heartbeat_client_new(idevice_t device, lockdownd_service_descr heartbeat_error_t heartbeat_client_start_service(idevice_t device, heartbeat_client_t * client, const char* label) { heartbeat_error_t err = HEARTBEAT_E_UNKNOWN_ERROR; - service_client_factory_start_service(device, HEARTBEAT_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(heartbeat_client_new), &err); + service_client_factory_start_service(device, HEARTBEAT_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(heartbeat_client_new), (uint16_t*)&err); return err; } |