summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
authorGravatar Rosen Penev2019-12-10 20:42:15 -0800
committerGravatar Rosen Penev2020-04-12 16:05:01 -0700
commite29aef80350b5ee4bf989443acf553f5f295df4c (patch)
tree6db009f260e563a1c10ab79e89b32739a5f0a1dc /src/idevicerestore.c
parentfc456a2fa763165453a6a46bbcd030d348b0820b (diff)
downloadidevicerestore-e29aef80350b5ee4bf989443acf553f5f295df4c.tar.gz
idevicerestore-e29aef80350b5ee4bf989443acf553f5f295df4c.tar.bz2
Fix format compiler warnings
This also allows the compiler to check these at compile time.
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 03e4811..1ce642b 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -496,7 +496,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
}
unsigned long selected = strtoul(input, NULL, 10);
if (selected == 0 || selected > count) {
- printf("Invalid input value. Must be in range: 1..%d\n", count);
+ printf("Invalid input value. Must be in range: 1..%u\n", count);
continue;
}
selected_fw = plist_array_get_item(signed_fws, (uint32_t)selected-1);