diff options
author | Nikias Bassen | 2013-02-28 02:17:27 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-02-28 02:17:27 +0100 |
commit | 31f24dd31bdd84308799123c8508d211291bb21d (patch) | |
tree | e06b5241d3c69cc29ebf38e57948815495b11aea /src/heartbeat.c | |
parent | 4b8644d16731415058376164ab20569961fec99c (diff) | |
download | libimobiledevice-31f24dd31bdd84308799123c8508d211291bb21d.tar.gz libimobiledevice-31f24dd31bdd84308799123c8508d211291bb21d.tar.bz2 |
service: use correct int16_t instead of uint16_t for error codes
Diffstat (limited to 'src/heartbeat.c')
-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 791cdb2..5645b3e 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), (uint16_t*)&err); + service_client_factory_start_service(device, HEARTBEAT_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(heartbeat_client_new), (int16_t*)&err); return err; } |