summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:59:41 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:59:41 +0000
commit3afb4dad992fc1cde1642bf96e8ea4aa5fd5aabf (patch)
tree599a3e6ea57859a76ca4d9235f467612eb1bc5e6 /lib
parentaebe5892612879d14b1e4c87abfdcb6638eefc17 (diff)
downloadcoreutils-3afb4dad992fc1cde1642bf96e8ea4aa5fd5aabf.tar.xz
unsigned -> unsigned int
Diffstat (limited to 'lib')
-rw-r--r--lib/strverscmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strverscmp.c b/lib/strverscmp.c
index df4f5c08a..83b7f90bd 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