From 793e2097a6f46bbc5048c540e32a4caf92a6836a Mon Sep 17 00:00:00 2001 From: morganamilo Date: Fri, 1 Jan 2021 16:57:47 +0000 Subject: libalpm: pass the number of packages being downloaded in totaldlcb Signed-off-by: Allan McRae --- src/pacman/callback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pacman/callback.c') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 6ed7557a..f11382a0 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -694,8 +694,9 @@ void cb_progress(alpm_progress_t event, const char *pkgname, int percent, } /* callback to handle receipt of total download value */ -void cb_dl_total(off_t total) +void cb_dl_total(size_t howmany, off_t total) { + (void)howmany; list_total = total; } -- cgit v1.2.3-54-g00ecf