summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-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 811006a..b7f6919 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -53,7 +53,7 @@ strtol(
*/
p = string;
- while (isspace(UCHAR(*p))) {
+ while (TclIsSpaceProc(*p)) {
p += 1;
}
diff --git a/compat/strtoul.c b/compat/strtoul.c
index 15587f1..e37eb05 100644
--- a/compat/strtoul.c
+++ b/compat/strtoul.c
@@ -74,7 +74,7 @@ strtoul(
*/
p = string;
- while (isspace(UCHAR(*p))) {
+ while (TclIsSpaceProc(*p)) {
p += 1;
}
if (*p == '-') {