summaryrefslogtreecommitdiff
path: root/src/pacman/util.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2015-11-10 20:51:55 +0100
committerAllan McRae <allan@archlinux.org>2015-11-11 13:47:08 +1000
commit9e22e75fa195b17efb6ad911e0e9910330e8a30a (patch)
treee76ef827e8d94f6b6a9811c6c94fdcfcca4962b4 /src/pacman/util.c
parentbf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef (diff)
Use correct format specifiers
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/util.c')
-rw-r--r--src/pacman/util.c4
1 files changed, 2 insertions, 2 deletions
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();