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/notification_proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/notification_proxy.c') diff --git a/src/notification_proxy.c b/src/notification_proxy.c index 952e5f2..291c257 100644 --- a/src/notification_proxy.c +++ b/src/notification_proxy.c @@ -110,7 +110,7 @@ np_error_t np_client_new(idevice_t device, lockdownd_service_descriptor_t servic client_loc->parent = plistclient; mutex_init(&client_loc->mutex); - client_loc->notifier = NULL; + client_loc->notifier = (thread_t)NULL; *client = client_loc; return NP_E_SUCCESS; @@ -395,7 +395,7 @@ np_error_t np_set_notify_callback( np_client_t client, np_notify_cb_t notify_cb, property_list_service_client_t parent = client->parent; client->parent = NULL; thread_join(client->notifier); - client->notifier = NULL; + client->notifier = (thread_t)NULL; client->parent = parent; } -- cgit v1.1-32-gdbae