diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-07 00:09:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-07 00:09:38 +0000 |
commit | a62be9f4039b4499cfbb76e394cad2259d03fa84 (patch) | |
tree | 5f444ac72b8b2418f2530af42b6c2fee823d18db /lib/strverscmp.c | |
parent | 4d52451995952d65b6772a7849e88866b3542157 (diff) | |
download | gnulib-a62be9f4039b4499cfbb76e394cad2259d03fa84.tar.gz |
Merge from coreutils.
Diffstat (limited to 'lib/strverscmp.c')
-rw-r--r-- | lib/strverscmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strverscmp.c b/lib/strverscmp.c index df4f5c08a9..83b7f90bd6 100644 --- a/lib/strverscmp.c +++ b/lib/strverscmp.c @@ -1,5 +1,5 @@ /* Compare strings while treating digits characters numerically. - Copyright (C) 1997, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1997, 2000, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>, 1997. @@ -43,7 +43,7 @@ POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to ISDIGIT_LOCALE unless it's important to use the locale's definition of `digit' even when the host does not conform to POSIX. */ -#define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) +#define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9) #undef __strverscmp #undef strverscmp |