From 927c34ee8e6974a34b1dfd7d1a4fde5eabbeca7a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 25 Apr 2013 17:26:26 +0100 Subject: installation_proxy: Silence compiler warnings about thread_t pointer assignments --- src/installation_proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/installation_proxy.c') diff --git a/src/installation_proxy.c b/src/installation_proxy.c index c49014d..b1dfeb4 100644 --- a/src/installation_proxy.c +++ b/src/installation_proxy.c @@ -105,7 +105,7 @@ instproxy_error_t instproxy_client_new(idevice_t device, lockdownd_service_descr instproxy_client_t client_loc = (instproxy_client_t) malloc(sizeof(struct instproxy_client_private)); client_loc->parent = plistclient; mutex_init(&client_loc->mutex); - client_loc->status_updater = NULL; + client_loc->status_updater = (thread_t)NULL; *client = client_loc; return INSTPROXY_E_SUCCESS; @@ -354,7 +354,7 @@ static void* instproxy_status_updater(void* arg) if (data->operation) { free(data->operation); } - data->client->status_updater = NULL; + data->client->status_updater = (thread_t)NULL; instproxy_unlock(data->client); free(data); -- cgit v1.1-32-gdbae