From ce8b2834166a6ae223e53c90eac5369f70fd0df9 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 26 May 2021 04:13:39 +0200 Subject: restore: Silence compiler warnings --- src/restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/restore.c b/src/restore.c index 95bbcab..7022006 100644 --- a/src/restore.c +++ b/src/restore.c @@ -3062,7 +3062,7 @@ int restore_send_restore_local_policy(restored_client_t restore, struct idevicer } plist_t dict = plist_new_dict(); - plist_dict_set_item(dict, "Ap,LocalPolicy", plist_new_data(data, size)); + plist_dict_set_item(dict, "Ap,LocalPolicy", plist_new_data((char*)data, size)); int restore_error = restored_send(restore, dict); if (restore_error != RESTORE_E_SUCCESS) { @@ -3691,7 +3691,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit } plist_get_bool_val(node, &ckpt_complete); if (ckpt_complete) - info("Checkpoint %lu complete with code %lu \n", ckpt_id, ckpt_res); + info("Checkpoint %" PRIu64 " complete with code %" PRIu64 "\n", ckpt_id, ckpt_res); } // baseband update message -- cgit v1.1-32-gdbae