Signed-off-by: Pierre Habouzit <[EMAIL PROTECTED]>
---
lib/showpkg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/showpkg.c b/lib/showpkg.c
index 9025807..74e57c8 100644
--- a/lib/showpkg.c
+++ b/lib/showpkg.c
@@ -216,7 +216,7 @@ void show1package(const struct lstitem* head, struct
pkginfo *pkg) {
ok=0;
if (head->width>0)
- snprintf(fmt,16,"%%%s%ds",
+ snprintf(fmt,16,"%%%s%zds",
((head->pad) ? "-" : ""), head->width);
else
strcpy(fmt, "%s");
--
1.5.5.1.295.gbeb1
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]