summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-05-18 23:50:02 +0200
committerGravatar Nikias Bassen2024-05-18 23:50:02 +0200
commit56d2c01505479b85e9aeddf58cd4237bf4242c2c (patch)
tree983520dbde82f9c82351d8420755cfeaf539c85e /src
parentc4c7d2339e9ceeeddb9f9465ff5cdd160a6a9358 (diff)
downloadidevicerestore-56d2c01505479b85e9aeddf58cd4237bf4242c2c.tar.gz
idevicerestore-56d2c01505479b85e9aeddf58cd4237bf4242c2c.tar.bz2
Add missing cast to silence compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 8070982..e699bbe 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -333,7 +333,7 @@ static int normal_get_nonce_by_key(struct idevicerestore_client_t* client, const
}
uint64_t n_size = 0;
- plist_get_data_val(nonce_node, nonce, &n_size);
+ plist_get_data_val(nonce_node, (char**)nonce, &n_size);
*nonce_size = (unsigned int)n_size;
plist_free(nonce_node);