From 9e22e75fa195b17efb6ad911e0e9910330e8a30a Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Tue, 10 Nov 2015 20:51:55 +0100 Subject: Use correct format specifiers Signed-off-by: Allan McRae --- src/pacman/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman/util.c') diff --git a/src/pacman/util.c b/src/pacman/util.c index 5f331e82..3ab71cfd 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -812,7 +812,7 @@ static alpm_list_t *create_verbose_header(size_t count) alpm_list_t *ret = NULL; char *header; - pm_asprintf(&header, "%s (%zd)", _("Package"), count); + pm_asprintf(&header, "%s (%zu)", _("Package"), count); add_table_cell(&ret, header, CELL_TITLE | CELL_FREE); add_table_cell(&ret, _("Old Version"), CELL_TITLE); @@ -921,7 +921,7 @@ static void _display_targets(alpm_list_t *targets, int verbose) } /* print to screen */ - pm_asprintf(&str, "%s (%zd)", _("Packages"), alpm_list_count(targets)); + pm_asprintf(&str, "%s (%zu)", _("Packages"), alpm_list_count(targets)); printf("\n"); cols = getcols(); -- cgit v1.2.3-24-g4f1b