summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 1e50ad79b78..b1ab006219d 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -116,7 +116,7 @@ posix_symlinks_match (xlator_t *this, loc_t *loc, uuid_t gfid)
char linkname_actual[PATH_MAX] = {0,};
char linkname_expected[PATH_MAX] = {0};
char *dir_handle = NULL;
- size_t len = 0;
+ ssize_t len = 0;
size_t handle_size = 0;
gf_boolean_t ret = _gf_false;