summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fdr.c2
1 files changed, 1 insertions, 1 deletions
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)