strlen returns size_t not int
authorChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:14:02 +0000 (20:14 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:14:02 +0000 (20:14 +0000)
libamu/hasmntopt.c

index 01d2d9137457b4744733d65a0ff925708513d673..d0090375f26497ab538ac7a87adb6116c7c5a878 100644 (file)
@@ -106,7 +106,7 @@ amu_hasmntopt(mntent_t *mnt, char *opt)
   char t[MNTMAXSTR];
   char *f;
   char *o = t;
-  int l = strlen(opt);
+  size_t l = strlen(opt);
 
   xstrlcpy(t, mnt->mnt_opts, sizeof(t));