From: Christos Zoulas Date: Wed, 17 Sep 2008 20:14:02 +0000 (+0000) Subject: strlen returns size_t not int X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=59166852ae2d381603c2bb00ffe189fc78f7b230;p=am-utils-6.0.git strlen returns size_t not int --- diff --git a/libamu/hasmntopt.c b/libamu/hasmntopt.c index 01d2d91..d009037 100644 --- a/libamu/hasmntopt.c +++ b/libamu/hasmntopt.c @@ -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));