summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-04-29 18:59:14 +0200
committerGravatar Nikias Bassen2013-04-29 18:59:14 +0200
commitbce46ee76b19afe6388be7fc5e99d1b69aaa0add (patch)
tree58bd1dd3212d76c88ffa756ce13314e14b12164a
parent8c697599984b23c83115235e778bfaf8121bcc50 (diff)
downloadusbmuxd-caching.tar.gz
usbmuxd-caching.tar.bz2
libusbmuxd: silence compiler warning about thread_t pointer assignmentcaching
-rw-r--r--libusbmuxd/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index 01d67e0..d868f83 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -78,7 +78,7 @@ static int handle_events = 0;
static usbmuxd_event_cb_t event_cb = NULL;
static void* event_user_data = NULL;
-static thread_t devmon = NULL;
+static thread_t devmon = (thread_t)NULL;
static mutex_t mutex;
static mutex_t init_mutex;