diff options
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index fa1ece20b3e..49801478504 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -432,7 +432,7 @@ ulong my_strntoul_8bit(CHARSET_INFO *cs, c -= '0'; else if (c>='A' && c<='F') c = c - 'A' + 10; - else if (c>='a' && c<='a') + else if (c>='a' && c<='f') c = c - 'a' + 10; else break; |