index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2015-11-10 20:51:55 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-11-11 13:47:08 +1000 |
commit | 9e22e75fa195b17efb6ad911e0e9910330e8a30a (patch) | |
tree | e76ef827e8d94f6b6a9811c6c94fdcfcca4962b4 /src/pacman/callback.c | |
parent | bf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef (diff) |
-rw-r--r-- | src/pacman/callback.c | 12 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 9260ece9..7a21b22c 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -418,8 +418,8 @@ void cb_question(alpm_question_t *question) alpm_question_select_provider_t *q = &question->select_provider; size_t count = alpm_list_count(q->providers); char *depstring = alpm_dep_compute_string(q->depend); - colon_printf(_n("There is %zd provider available for %s\n", - "There are %zd providers available for %s:\n", count), + colon_printf(_n("There is %zu provider available for %s\n", + "There are %zu providers available for %s:\n", count), count, depstring); free(depstring); select_display(q->providers); @@ -443,10 +443,10 @@ void cb_question(alpm_question_t *question) strftime(created, 12, "%Y-%m-%d", localtime(&time)); if(q->key->revoked) { - q->import = yesno(_("Import PGP key %d%c/%s, \"%s\", created: %s (revoked)?"), + q->import = yesno(_("Import PGP key %u%c/%s, \"%s\", created: %s (revoked)?"), q->key->length, q->key->pubkey_algo, q->key->fingerprint, q->key->uid, created); } else { - q->import = yesno(_("Import PGP key %d%c/%s, \"%s\", created: %s?"), + q->import = yesno(_("Import PGP key %u%c/%s, \"%s\", created: %s?"), q->key->length, q->key->pubkey_algo, q->key->fingerprint, q->key->uid, created); } } @@ -590,8 +590,8 @@ void cb_progress(alpm_progress_t event, const char *pkgname, int percent, } - printf("(%*ld/%*ld) %ls%-*s", digits, (unsigned long)current, - digits, (unsigned long)howmany, wcstr, padwid, ""); + printf("(%*zu/%*zu) %ls%-*s", digits, current, + digits, howmany, wcstr, padwid, ""); free(wcstr); |