From 5a5323f9c20a75460fa2c9df17f372bcf06ff9e7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 28 Feb 2013 02:49:25 +0100 Subject: remove unneeded int16_t* casts from calls to service_client_factory_start_service --- src/heartbeat.c | 2 +- src/webinspector.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/heartbeat.c b/src/heartbeat.c index 5645b3e..0f8d2f3 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), (int16_t*)&err); + service_client_factory_start_service(device, HEARTBEAT_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(heartbeat_client_new), &err); return err; } diff --git a/src/webinspector.c b/src/webinspector.c index 0be69dd..fea26d4 100644 --- a/src/webinspector.c +++ b/src/webinspector.c @@ -113,7 +113,7 @@ webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service webinspector_error_t webinspector_client_start_service(idevice_t device, webinspector_client_t * client, const char* label) { webinspector_error_t err = WEBINSPECTOR_E_UNKNOWN_ERROR; - service_client_factory_start_service(device, WEBINSPECTOR_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(webinspector_client_new), (int16_t*)&err); + service_client_factory_start_service(device, WEBINSPECTOR_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(webinspector_client_new), &err); return err; } -- cgit v1.1-32-gdbae