diff options
author | Martin Szulecki | 2015-09-24 19:24:35 +0200 |
---|---|---|
committer | Martin Szulecki | 2015-09-24 19:24:35 +0200 |
commit | 719b964e80e330001e4004c0d2deba3e0a6ed05c (patch) | |
tree | 5a147f90a101c4677fe3ace31eeb34602768295a /src | |
parent | 7f0009838e0ffacc856d1ab6ed0a8f34c19e9872 (diff) | |
download | idevicerestore-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.c | 2 |
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"); |