summaryrefslogtreecommitdiff
path: root/lib/libalpm/delta.c
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-11-14 20:26:37 +0100
committerDan McGee <dan@archlinux.org>2010-03-25 21:58:35 -0500
commit7965345d435870a47073fffafa2a429744aa2deb (patch)
treefc4a902ffb0310af5a75bd47aec1c8b28be6d146 /lib/libalpm/delta.c
parent21abae98cbd382d8fab4427109776d983cd07c9f (diff)
downloadpacman-7965345d435870a47073fffafa2a429744aa2deb.tar.xz
More consistent printing of off_t and time_t
time_t : %ld off_t : %jd and cast to intmax_t Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/delta.c')
-rw-r--r--lib/libalpm/delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/delta.c b/lib/libalpm/delta.c
index 3aa7d5e2..72835005 100644
--- a/lib/libalpm/delta.c
+++ b/lib/libalpm/delta.c
@@ -337,7 +337,7 @@ pmdelta_t *_alpm_delta_parse(char *line)
tmp2 = tmp;
STRDUP(delta->to, tmp2, RET_ERR(PM_ERR_MEMORY, NULL));
- _alpm_log(PM_LOG_DEBUG, "delta : %s %s '%lld'\n", delta->from, delta->to, (long long)delta->delta_size);
+ _alpm_log(PM_LOG_DEBUG, "delta : %s %s '%jd'\n", delta->from, delta->to, (intmax_t)delta->delta_size);
return(delta);
}