summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/common-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/common-utils.c')
-rw-r--r--libglusterfs/src/common-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c
index a1b67596c6e..ac8babcc8ad 100644
--- a/libglusterfs/src/common-utils.c
+++ b/libglusterfs/src/common-utils.c
@@ -1363,7 +1363,7 @@ gf_string2int64 (const char *str, int64_t *n)
if (rv != 0)
return rv;
- if ((l >= INT64_MIN) && (l <= INT64_MAX)) {
+ if (l <= INT64_MAX) {
*n = (int64_t) l;
return 0;
}