Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.aout_so Another (unsigned char) cast - for ldconfig



details:   https://anonhg.NetBSD.org/src/rev/34940f677f0c
branches:  trunk
changeset: 570796:34940f677f0c
user:      dsl <dsl%NetBSD.org@localhost>
date:      Thu Oct 28 20:18:48 2004 +0000

description:
Another (unsigned char) cast - for ldconfig

diffstat:

 libexec/ld.aout_so/shlib.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f2ec6a378720 -r 34940f677f0c libexec/ld.aout_so/shlib.c
--- a/libexec/ld.aout_so/shlib.c        Thu Oct 28 20:17:19 2004 +0000
+++ b/libexec/ld.aout_so/shlib.c        Thu Oct 28 20:18:48 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shlib.c,v 1.18 2000/05/27 06:53:30 matt Exp $  */
+/*     $NetBSD: shlib.c,v 1.19 2004/10/28 20:18:48 dsl Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -173,7 +173,7 @@
 #ifdef SUNOS_LIB_COMPAT
                if (!(isdigit)(*cp))
 #else
-               if (!isdigit(*cp))
+               if (!isdigit((unsigned char)*cp))
 #endif
                        return 0;
 



Home | Main Index | Thread Index | Old Index