s3:smbstatus fix a compiler warning
authorChristian Ambach <ambi@samba.org>
Fri, 13 Jul 2012 15:32:19 +0000 (17:32 +0200)
committerChristian Ambach <ambi@samba.org>
Wed, 18 Jul 2012 13:49:51 +0000 (15:49 +0200)
about comparison of signed with unsigned

source3/utils/status.c

index 3d16f8e3e73a99b0a85f712e94ef07f4489193b3..1f85491c7d81280766de0c5f8d9cf98449becefc 100644 (file)
@@ -191,7 +191,7 @@ static void print_brl(struct file_id id,
                        void *private_data)
 {
        static int count;
-       int i;
+       unsigned int i;
        static const struct {
                enum brl_type lock_type;
                const char *desc;