summaryrefslogtreecommitdiffstats
path: root/compat/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/strtol.c')
-rw-r--r--compat/strtol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/strtol.c b/compat/strtol.c
index b7f6919..811006a 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -53,7 +53,7 @@ strtol(
*/
p = string;
- while (TclIsSpaceProc(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}