summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/index/src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/index/src/index.c b/xlators/features/index/src/index.c
index 41d21c50abe..12203f82c56 100644
--- a/xlators/features/index/src/index.c
+++ b/xlators/features/index/src/index.c
@@ -417,7 +417,7 @@ index_dec_link_count (index_priv_t *priv, index_xattrop_type_t type)
char*
index_get_subdir_from_type (index_xattrop_type_t type)
{
- if (type < 0 || type >= XATTROP_TYPE_END)
+ if ((int)type < 0 || (int)type >= (int)XATTROP_TYPE_END)
return NULL;
return index_subdirs[type];
}