make max_sz int since it will passed to %*s

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23487 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-08-11 09:58:29 +00:00
parent dfb1db9505
commit 1d7cce4014

View File

@@ -270,7 +270,7 @@ void ROKEN_LIB_FUNCTION
print_units_table (const struct units *units, FILE *f)
{
const struct units *u, *u2;
unsigned max_sz = 0;
int max_sz = 0;
for (u = units; u->name; ++u) {
max_sz = max(max_sz, strlen(u->name));