summaryrefslogtreecommitdiffstats
path: root/compat/strtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/strtoul.c')
-rw-r--r--compat/strtoul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/strtoul.c b/compat/strtoul.c
index ddb1682..912e252 100644
--- a/compat/strtoul.c
+++ b/compat/strtoul.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: strtoul.c,v 1.4 2002/02/24 02:53:25 dgp Exp $
+ * RCS: @(#) $Id: strtoul.c,v 1.5 2002/02/25 10:36:32 dkf Exp $
*/
#include "tclInt.h"
@@ -80,7 +80,7 @@ strtoul(string, endPtr, base)
*/
p = string;
- while (isspace(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}
if (*p == '-') {