From 1c006759796d7fcbd9f40a797853fc0528204839 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 7 Aug 2024 12:18:46 -0400 Subject: download() returns long, not int --- src/delivery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/delivery.c') 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; -- cgit