Use size_t for strlen return, not int. Karolin please
authorJeremy Allison <jra@samba.org>
Tue, 8 Apr 2008 14:43:30 +0000 (07:43 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 8 Apr 2008 14:43:30 +0000 (07:43 -0700)
pull.
Jeremy.
(This used to be commit f4a1fdaac0dd6b1b241fac9879416c8ad4403eff)

source3/modules/vfs_tsmsm.c

index 7dc8b38bb7dbeee758d5c7b09b583462f6f907cd..4a732bca43b7adc49d5854349764bd27607b9d54 100644 (file)
@@ -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) */