summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-04-08 07:43:30 -0700
committerKarolin Seeger <kseeger@samba.org>2008-04-09 07:44:23 +0200
commitd0ed4e1886cf727a2ae9c336235da47bf5a13cdd (patch)
tree7117ae7381e7bced73fc26acd6adc32f12ab0be4
parente652eebeb50e0cf39f481f4d7b153c321cff6297 (diff)
downloadsamba-d0ed4e1886cf727a2ae9c336235da47bf5a13cdd.tar.gz
samba-d0ed4e1886cf727a2ae9c336235da47bf5a13cdd.tar.xz
samba-d0ed4e1886cf727a2ae9c336235da47bf5a13cdd.zip
Use size_t for strlen return, not int. Karolin please
pull. Jeremy. (cherry picked from commit f4a1fdaac0dd6b1b241fac9879416c8ad4403eff)
-rw-r--r--source/modules/vfs_tsmsm.c2
1 files changed, 1 insertions, 1 deletions
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) */