diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-02-25 10:36:32 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-02-25 10:36:32 (GMT) |
commit | efe59244840c732a49b93ff7aa6c01cb56874954 (patch) | |
tree | 51173dcf6440bab8a4aa0035be9c662f0cba4e8b /compat/strtoul.c | |
parent | a0211643722bd3be1a1b6a97595bfc96720edb98 (diff) | |
download | tcl-efe59244840c732a49b93ff7aa6c01cb56874954.zip tcl-efe59244840c732a49b93ff7aa6c01cb56874954.tar.gz tcl-efe59244840c732a49b93ff7aa6c01cb56874954.tar.bz2 |
Minor cleanup of compat functions to get rid of GCC warnings.
Diffstat (limited to 'compat/strtoul.c')
-rw-r--r-- | compat/strtoul.c | 4 |
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 == '-') { |