summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-06-27 19:07:33 +0200
committerGravatar Nikias Bassen2025-06-27 19:07:33 +0200
commitf89dea1aa863d09078650ab744b939e02924e411 (patch)
tree1c9d3cc0d2f15a4a1353b521fbb23803a7d70af2 /src
parent7ba50eb7c73d0b5ddacbd6b31c3ba2a114f02188 (diff)
downloadidevicerestore-f89dea1aa863d09078650ab744b939e02924e411.tar.gz
idevicerestore-f89dea1aa863d09078650ab744b939e02924e411.tar.bz2
restore: Fix curl_easy_setopt compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 8f4e023..3129176 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1420,7 +1420,7 @@ int restore_send_streamed_image_decryption_key(struct idevicerestore_client_t* c
curl_easy_setopt(handle, CURLOPT_WRITEDATA, response);
curl_easy_setopt(handle, CURLOPT_HTTPHEADER, header);
curl_easy_setopt(handle, CURLOPT_POSTFIELDS, request_body);
- curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE, request_body_size);
+ curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE, (long)request_body_size);
if (client->debug_level > 0) {
curl_easy_setopt(handle, CURLOPT_VERBOSE, 1L);
}