Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libcurses/director Don't fail on platforms with "c...



details:   https://anonhg.NetBSD.org/src/rev/d803fdda09bb
branches:  trunk
changeset: 764124:d803fdda09bb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Apr 11 22:37:10 2011 +0000

description:
Don't fail on platforms with "char" == "unsigned char"

diffstat:

 tests/lib/libcurses/director/director.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 71a30e7fcdfa -r d803fdda09bb tests/lib/libcurses/director/director.c
--- a/tests/lib/libcurses/director/director.c   Mon Apr 11 22:31:43 2011 +0000
+++ b/tests/lib/libcurses/director/director.c   Mon Apr 11 22:37:10 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: director.c,v 1.1 2011/04/10 09:55:09 blymn Exp $       */
+/*     $NetBSD: director.c,v 1.2 2011/04/11 22:37:10 joerg Exp $       */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -110,7 +110,8 @@
 {
        extern char *optarg;
        extern int optind;
-       char *termpath, *term, *slave, ch;
+       char *termpath, *term, *slave;
+       int ch;
        pid_t slave_pid;
        extern FILE *yyin;
        char *arg1, *arg2, *arg3, *arg4;



Home | Main Index | Thread Index | Old Index