summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compat/strtol.c2
-rw-r--r--compat/strtoul.c2
2 files changed, 2 insertions, 2 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;
}
diff --git a/compat/strtoul.c b/compat/strtoul.c
index e37eb05..15587f1 100644
--- a/compat/strtoul.c
+++ b/compat/strtoul.c
@@ -74,7 +74,7 @@ strtoul(
*/
p = string;
- while (TclIsSpaceProc(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}
if (*p == '-') {