Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vi/common Use an "int" instead of an "u_char" for a ...



details:   https://anonhg.NetBSD.org/src/rev/373a08d0a426
branches:  trunk
changeset: 526710:373a08d0a426
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu May 09 02:36:57 2002 +0000

description:
Use an "int" instead of an "u_char" for a variable that is as a loop
control variable that is checked against against "<= 255".

diffstat:

 usr.bin/vi/common/key.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 516c125f549d -r 373a08d0a426 usr.bin/vi/common/key.c
--- a/usr.bin/vi/common/key.c   Thu May 09 02:19:42 2002 +0000
+++ b/usr.bin/vi/common/key.c   Thu May 09 02:36:57 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.4 2002/04/09 01:47:31 thorpej Exp $  */
+/*     $NetBSD: key.c,v 1.5 2002/05/09 02:36:57 simonb Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993, 1994
@@ -16,7 +16,7 @@
 #if 0
 static const char sccsid[] = "@(#)key.c        10.33 (Berkeley) 9/24/96";
 #else
-__RCSID("$NetBSD: key.c,v 1.4 2002/04/09 01:47:31 thorpej Exp $");
+__RCSID("$NetBSD: key.c,v 1.5 2002/05/09 02:36:57 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -110,7 +110,7 @@
 v_key_init(sp)
        SCR *sp;
 {
-       CHAR_T ch;
+       int ch;
        GS *gp;
        KEYLIST *kp;
        int cnt;



Home | Main Index | Thread Index | Old Index