From 7f0009838e0ffacc856d1ab6ed0a8f34c19e9872 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 24 Sep 2015 19:24:02 +0200 Subject: fdr: Fix compiler warning about returned pointer --- src/fdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdr.c b/src/fdr.c index 173ec79..f5475b8 100644 --- a/src/fdr.c +++ b/src/fdr.c @@ -175,7 +175,7 @@ void *fdr_listener_thread(void *cdata) } debug("FDR %p terminating...\n", fdr); fdr_free(fdr); - return (void *)res; + return (void *)(intptr_t)res; } static int fdr_receive_plist(fdr_client_t fdr, plist_t* data) -- cgit v1.1-32-gdbae