summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-09-24 19:24:02 +0200
committerGravatar Martin Szulecki2015-09-24 19:24:02 +0200
commit7f0009838e0ffacc856d1ab6ed0a8f34c19e9872 (patch)
tree4a261652af5aaec2027d3aabd7dc6953bf4b1c8c
parent3e0190ed46d4a48f2f27667c6abe40d00f4bebf6 (diff)
downloadidevicerestore-7f0009838e0ffacc856d1ab6ed0a8f34c19e9872.tar.gz
idevicerestore-7f0009838e0ffacc856d1ab6ed0a8f34c19e9872.tar.bz2
fdr: Fix compiler warning about returned pointer
-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)