From 56d2c01505479b85e9aeddf58cd4237bf4242c2c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 18 May 2024 23:50:02 +0200 Subject: Add missing cast to silence compiler warning --- src/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.1-32-gdbae