Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/grep fix type, from enh at google dot com



details:   https://anonhg.NetBSD.org/src/rev/7a3331e84888
branches:  trunk
changeset: 330591:7a3331e84888
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jul 14 21:56:03 2014 +0000

description:
fix type, from enh at google dot com

diffstat:

 usr.bin/grep/util.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9c8c658e53d2 -r 7a3331e84888 usr.bin/grep/util.c
--- a/usr.bin/grep/util.c       Mon Jul 14 20:44:45 2014 +0000
+++ b/usr.bin/grep/util.c       Mon Jul 14 21:56:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.17 2013/01/21 03:24:43 msaitoh Exp $        */
+/*     $NetBSD: util.c,v 1.18 2014/07/14 21:56:03 christos Exp $       */
 /*     $FreeBSD: head/usr.bin/grep/util.c 211496 2010-08-19 09:28:59Z des $    */
 /*     $OpenBSD: util.c,v 1.39 2010/07/02 22:18:03 tedu Exp $  */
 
@@ -34,7 +34,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: util.c,v 1.17 2013/01/21 03:24:43 msaitoh Exp $");
+__RCSID("$NetBSD: util.c,v 1.18 2014/07/14 21:56:03 christos Exp $");
 
 #include <sys/stat.h>
 #include <sys/types.h>
@@ -324,7 +324,7 @@
                                continue;
                        /* Check for whole word match */
                        if (fg_pattern[i].word && pmatch.rm_so != 0) {
-                               wint_t wbegin, wend;
+                               wchar_t wbegin, wend;
 
                                wbegin = wend = L' ';
                                if (pmatch.rm_so != 0 &&



Home | Main Index | Thread Index | Old Index