From d0ed4e1886cf727a2ae9c336235da47bf5a13cdd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 8 Apr 2008 07:43:30 -0700 Subject: [PATCH] Use size_t for strlen return, not int. Karolin please pull. Jeremy. (cherry picked from commit f4a1fdaac0dd6b1b241fac9879416c8ad4403eff) --- source/modules/vfs_tsmsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/modules/vfs_tsmsm.c b/source/modules/vfs_tsmsm.c index 7dc8b38bb7d..4a732bca43b 100644 --- a/source/modules/vfs_tsmsm.c +++ b/source/modules/vfs_tsmsm.c @@ -149,7 +149,7 @@ static bool tsmsm_is_offline(struct vfs_handle_struct *handle, int ret, lerrno; bool offline; char *buf; - int buflen; + size_t buflen; /* if the file has more than FILE_IS_ONLINE_RATIO of blocks available, then assume it is not offline (it may not be 100%, as it could be sparse) */ -- 2.11.4.GIT