aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/tinymix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/tinymix.c b/utils/tinymix.c
index 5c0378c..e272ade 100644
--- a/utils/tinymix.c
+++ b/utils/tinymix.c
@@ -370,7 +370,7 @@ fail:
static int is_int(const char *value)
{
- return value[0] >= '0' || value[0] <= '9';
+ return value[0] >= '0' && value[0] <= '9';
}
struct parsed_int