aboutsummaryrefslogtreecommitdiffstats
path: root/src/package.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-08 07:14:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-08 07:16:53 +0000
commitd704e93f8dbc8b6560fd34d0dc0524c674d55e15 (patch)
tree6abe13fd6b0587957bb7aaa8bd6a564f4f306a80 /src/package.c
parent052fbe3f86eaab1940f25824705d809cd9af59e5 (diff)
downloadaports-d704e93f8dbc8b6560fd34d0dc0524c674d55e15.tar.bz2
aports-d704e93f8dbc8b6560fd34d0dc0524c674d55e15.tar.xz
src/package.c: fix compiler warning on 64 bit hosts
Diffstat (limited to 'src/package.c')
-rw-r--r--src/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/package.c b/src/package.c
index b5d1ccc889..9f332013fd 100644
--- a/src/package.c
+++ b/src/package.c
@@ -535,8 +535,8 @@ apk_blob_t apk_pkg_format_index_entry(struct apk_package *info, int size,
n += snprintf(&buf[n], size-n,
"P:%s\n"
"V:%s\n"
- "S:%u\n"
- "I:%u\n"
+ "S:%zu\n"
+ "I:%zu\n"
"T:%s\n"
"U:%s\n"
"L:%s\n",