summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-09-24 19:24:35 +0200
committerGravatar Martin Szulecki2015-09-24 19:24:35 +0200
commit719b964e80e330001e4004c0d2deba3e0a6ed05c (patch)
tree5a147f90a101c4677fe3ace31eeb34602768295a /src
parent7f0009838e0ffacc856d1ab6ed0a8f34c19e9872 (diff)
downloadidevicerestore-719b964e80e330001e4004c0d2deba3e0a6ed05c.tar.gz
idevicerestore-719b964e80e330001e4004c0d2deba3e0a6ed05c.tar.bz2
restore: Cast to thread_t to fix compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index b324470..3abf082 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1746,7 +1746,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
if (!fdr_connect(device, FDR_CTRL, &fdr_control_channel)) {
if(thread_new(&fdr_thread, fdr_listener_thread, fdr_control_channel)) {
error("ERROR: Failed to start FDR listener thread\n");
- fdr_thread = NULL; /* undefined after failure */
+ fdr_thread = (thread_t)NULL; /* undefined after failure */
}
} else {
error("ERROR: Failed to start FDR Ctrl channel\n");