summaryrefslogtreecommitdiff
path: root/src
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
parent052fbe3f86eaab1940f25824705d809cd9af59e5 (diff)
downloadapk-tools-d704e93f8dbc8b6560fd34d0dc0524c674d55e15.tar.gz
apk-tools-d704e93f8dbc8b6560fd34d0dc0524c674d55e15.tar.bz2
apk-tools-d704e93f8dbc8b6560fd34d0dc0524c674d55e15.tar.xz
apk-tools-d704e93f8dbc8b6560fd34d0dc0524c674d55e15.zip
src/package.c: fix compiler warning on 64 bit hosts
Diffstat (limited to 'src')
-rw-r--r--src/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/package.c b/src/package.c
index b5d1ccc..9f33201 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",