From 9d1d030025052a295a85b86687591c86f8ff7432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 7 Apr 2008 18:51:34 +0000 Subject: [PATCH] Use unsigned where appropriate. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22886 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ls.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/appl/ftp/ftpd/ls.c b/appl/ftp/ftpd/ls.c index 190f8c514..8a735e8b7 100644 --- a/appl/ftp/ftpd/ls.c +++ b/appl/ftp/ftpd/ls.c @@ -320,9 +320,9 @@ print_file(FILE *out, int max_n_link, int max_user, int max_group, - int max_size, - int max_major, - int max_minor, + unsigned int max_size, + unsigned int max_major, + unsigned int max_minor, int max_date) { if(f->filename == NULL) @@ -569,9 +569,9 @@ list_files(FILE *out, const char **files, int n_files, int flags) int max_n_link = 0; int max_user = 0; int max_group = 0; - int max_size = 0; - int max_major = 0; - int max_minor = 0; + unsigned int max_size = 0; + unsigned int max_major = 0; + unsigned int max_minor = 0; int max_date = 0; for(i = 0; i < n_files; i++) { if(fi[i].filename == NULL)