Source-Changes-HG archive

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

[src/trunk]: src/sbin/dump Use <ctype.h> functions correctly.



details:   https://anonhg.NetBSD.org/src/rev/64b33dcb79f2
branches:  trunk
changeset: 783972:64b33dcb79f2
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jan 13 22:54:24 2013 +0000

description:
Use <ctype.h> functions correctly.

diffstat:

 sbin/dump/dumprmt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c2781cdc7d72 -r 64b33dcb79f2 sbin/dump/dumprmt.c
--- a/sbin/dump/dumprmt.c       Sun Jan 13 22:53:01 2013 +0000
+++ b/sbin/dump/dumprmt.c       Sun Jan 13 22:54:24 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dumprmt.c,v 1.35 2013/01/13 22:53:01 dholland Exp $    */
+/*     $NetBSD: dumprmt.c,v 1.36 2013/01/13 22:54:24 dholland Exp $    */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)dumprmt.c  8.3 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: dumprmt.c,v 1.35 2013/01/13 22:53:01 dholland Exp $");
+__RCSID("$NetBSD: dumprmt.c,v 1.36 2013/01/13 22:54:24 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -160,7 +160,7 @@
 okname(const char *cp0)
 {
        const char *cp;
-       int c;
+       unsigned char c;
 
        for (cp = cp0; *cp; cp++) {
                c = *cp;



Home | Main Index | Thread Index | Old Index