* lib/showpkg.c (show1package): Use %zd instead of %d in sprintf()
call with a size_t parameter.
+2008-05-11 Pierre Habouzit <madcoder@debian.org>
+
+ * lib/showpkg.c (show1package): Use %zd instead of %d in sprintf()
+ call with a size_t parameter.
+
2008-05-11 Pierre Habouzit <madcoder@debian.org>
* scripts/update-alternatives.pl: add a --query option that works like
ok=0;
if (head->width>0)
- snprintf(fmt,16,"%%%s%ds",
+ snprintf(fmt,16,"%%%s%zds",
((head->pad) ? "-" : ""), head->width);
else
strcpy(fmt, "%s");