summaryrefslogtreecommitdiffstats
path: root/src/webinspector.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-02-28 02:49:25 +0100
committerGravatar Nikias Bassen2013-02-28 02:49:25 +0100
commit5a5323f9c20a75460fa2c9df17f372bcf06ff9e7 (patch)
tree9b4837dab91a84c98dd47322ae37c80e5defec23 /src/webinspector.c
parent31f24dd31bdd84308799123c8508d211291bb21d (diff)
downloadlibimobiledevice-5a5323f9c20a75460fa2c9df17f372bcf06ff9e7.tar.gz
libimobiledevice-5a5323f9c20a75460fa2c9df17f372bcf06ff9e7.tar.bz2
remove unneeded int16_t* casts from calls to service_client_factory_start_service
Diffstat (limited to 'src/webinspector.c')
-rw-r--r--src/webinspector.c2
1 files changed, 1 insertions, 1 deletions
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;
}