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:
@@ -270,7 +270,7 @@ void ROKEN_LIB_FUNCTION
|
|||||||
print_units_table (const struct units *units, FILE *f)
|
print_units_table (const struct units *units, FILE *f)
|
||||||
{
|
{
|
||||||
const struct units *u, *u2;
|
const struct units *u, *u2;
|
||||||
unsigned max_sz = 0;
|
int max_sz = 0;
|
||||||
|
|
||||||
for (u = units; u->name; ++u) {
|
for (u = units; u->name; ++u) {
|
||||||
max_sz = max(max_sz, strlen(u->name));
|
max_sz = max(max_sz, strlen(u->name));
|
||||||
|
Reference in New Issue
Block a user