summaryrefslogtreecommitdiff
path: root/strings/str2int.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/str2int.c')
-rw-r--r--strings/str2int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/str2int.c b/strings/str2int.c
index 58669287473..d7e6bb9aabc 100644
--- a/strings/str2int.c
+++ b/strings/str2int.c
@@ -98,7 +98,7 @@ char *str2int(register const char *src, register int radix, long int lower,
converted value (and the scale!) as *negative* numbers,
so the sign is the opposite of what you might expect.
*/
- while (isspace(*src)) src++;
+ while (my_isspace(system_charset_info,*src)) src++;
sign = -1;
if (*src == '+') src++; else
if (*src == '-') src++, sign = 1;