diff options
author | Nikias Bassen | 2021-05-26 04:13:39 +0200 |
---|---|---|
committer | Nikias Bassen | 2021-05-26 04:13:39 +0200 |
commit | ce8b2834166a6ae223e53c90eac5369f70fd0df9 (patch) | |
tree | 41286d80f7910cd0b67130e08668f5e5fb2c8607 /src | |
parent | 7f53014c01bbefd7fd485563c002b77fe1c2f239 (diff) | |
download | idevicerestore-ce8b2834166a6ae223e53c90eac5369f70fd0df9.tar.gz idevicerestore-ce8b2834166a6ae223e53c90eac5369f70fd0df9.tar.bz2 |
restore: Silence compiler warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 4 |
1 files 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 |