From 59166852ae2d381603c2bb00ffe189fc78f7b230 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 17 Sep 2008 20:14:02 +0000 Subject: [PATCH] strlen returns size_t not int --- libamu/hasmntopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0