aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/delivery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delivery.c b/src/delivery.c
index 9c735b9..1b16f39 100644
--- a/src/delivery.c
+++ b/src/delivery.c
@@ -1229,7 +1229,7 @@ int delivery_get_installer(struct Delivery *ctx, char *installer_url) {
sprintf(script_path, "%s/%s", ctx->storage.tmpdir, installer);
if (access(script_path, F_OK)) {
// Script doesn't exist
- int fetch_status = download(installer_url, script_path, NULL);
+ long fetch_status = download(installer_url, script_path, NULL);
if (HTTP_ERROR(fetch_status) || fetch_status < 0) {
// download failed
return -1;