From e29aef80350b5ee4bf989443acf553f5f295df4c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 10 Dec 2019 20:42:15 -0800 Subject: Fix format compiler warnings This also allows the compiler to check these at compile time. --- src/idevicerestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idevicerestore.c') 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); -- cgit v1.1-32-gdbae