From 8d7034fda9913bcf3ccbac66eb58cb98d672656d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20G=C3=A4=C3=9Fler?= Date: Thu, 20 Jun 2024 16:23:41 +0200 Subject: [PATCH] Update common/common.cpp Co-authored-by: slaren --- common/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.cpp b/common/common.cpp index cff974f1d..9c23d001b 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -2663,7 +2663,7 @@ static bool llama_download_file(const std::string & url, const std::string & pat } }; - std::unique_ptr outfile(fopen(path_temporary.c_str(), "wb"), FILE_deleter()); + std::unique_ptr outfile(fopen(path_temporary.c_str(), "wb")); if (!outfile) { fprintf(stderr, "%s: error opening local file for writing: %s\n", __func__, path.c_str()); return false;