Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit fix narrow compilation
details: https://anonhg.NetBSD.org/src/rev/701942f638d2
branches: trunk
changeset: 767685:701942f638d2
user: christos <christos%NetBSD.org@localhost>
date: Wed Jul 27 13:18:20 2011 +0000
description:
fix narrow compilation
diffstat:
lib/libedit/history.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 25930dbad736 -r 701942f638d2 lib/libedit/history.c
--- a/lib/libedit/history.c Wed Jul 27 11:54:40 2011 +0000
+++ b/lib/libedit/history.c Wed Jul 27 13:18:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: history.c,v 1.39 2011/07/27 02:23:29 christos Exp $ */
+/* $NetBSD: history.c,v 1.40 2011/07/27 13:18:20 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)history.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: history.c,v 1.39 2011/07/27 02:23:29 christos Exp $");
+__RCSID("$NetBSD: history.c,v 1.40 2011/07/27 13:18:20 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -797,7 +797,8 @@
TYPE(HistEvent) ev;
int i = -1, retval;
size_t len, max_size;
- char *ptr, *str;
+ char *ptr;
+ const char *str;
#ifdef WIDECHAR
static ct_buffer_t conv;
#endif
Home |
Main Index |
Thread Index |
Old Index