Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tic More adaptation for ports where char is unsigned...



details:   https://anonhg.NetBSD.org/src/rev/75618ff468f1
branches:  trunk
changeset: 751481:75618ff468f1
user:      he <he%NetBSD.org@localhost>
date:      Fri Feb 05 14:40:07 2010 +0000

description:
More adaptation for ports where char is unsigned char.

diffstat:

 usr.bin/tic/tic.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r bbbf2d861686 -r 75618ff468f1 usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Fri Feb 05 14:39:07 2010 +0000
+++ b/usr.bin/tic/tic.c Fri Feb 05 14:40:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.2 2010/02/05 12:31:56 roy Exp $ */
+/* $NetBSD: tic.c,v 1.3 2010/02/05 14:40:07 he Exp $ */
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.2 2010/02/05 12:31:56 roy Exp $");
+__RCSID("$NetBSD: tic.c,v 1.3 2010/02/05 14:40:07 he Exp $");
 
 #include <sys/types.h>
 
@@ -471,7 +471,8 @@
 static int
 process_entry(TBUF *buf)
 {
-       char *cap, *capstart, *p, *e, *name, *desc, *alias, flag;
+       char *cap, *capstart, *p, *e, *name, *desc, *alias;
+       signed char flag;
        long num;
        int slash;
        ssize_t ind;



Home | Main Index | Thread Index | Old Index