Signed-off-by: Felipe Contreras <[email protected]>
---
config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.c b/config.c
index a30cb5c..bd69ad7 100644
--- a/config.c
+++ b/config.c
@@ -616,7 +616,7 @@ static int git_config_maybe_bool_text(const char *name,
const char *value)
int git_config_maybe_bool(const char *name, const char *value)
{
int v = git_config_maybe_bool_text(name, value);
- if (0 <= v)
+ if (v >= 0)
return v;
if (git_parse_int(value, &v))
return !!v;
@@ -626,7 +626,7 @@ int git_config_maybe_bool(const char *name, const char
*value)
int git_config_bool_or_int(const char *name, const char *value, int *is_bool)
{
int v = git_config_maybe_bool_text(name, value);
- if (0 <= v) {
+ if (v >= 0) {
*is_bool = 1;
return v;
}
--
1.9.2+fc1.3.gade8541
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html