Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/pacman/callback.c
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2021-01-01 16:57:47 +0000
committerAllan McRae <allan@archlinux.org>2021-01-09 00:12:32 +1000
commit793e2097a6f46bbc5048c540e32a4caf92a6836a (patch)
tree7b5d063e7b7c8b9323ec58ccf074cc58cd38ddc1 /src/pacman/callback.c
parentf5b373788fce2326f98a8740fdeb9b8f7dd0a846 (diff)
libalpm: pass the number of packages being downloaded in totaldlcb
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r--src/pacman/callback.c3
1 files changed, 2 insertions, 1 deletions
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;
}