From: Jeremy Allison Date: Tue, 8 Apr 2008 14:43:30 +0000 (-0700) Subject: Use size_t for strlen return, not int. Karolin please X-Git-Tag: samba-3.3.0pre1~2863 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4a1fdaac0dd6b1b241fac9879416c8ad4403eff;p=thirdparty%2Fsamba.git Use size_t for strlen return, not int. Karolin please pull. Jeremy. --- 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) */