summaryrefslogtreecommitdiffstats
path: root/lib/libedit/chared.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-07-06 19:30:50 +0000
committerpfg <pfg@FreeBSD.org>2012-07-06 19:30:50 +0000
commitb4995ae7cbe2904f2627a580e63b1528e34bdfe8 (patch)
tree27050b976a4f8ad2a3a130ab1d8a4dc9d5e2d148 /lib/libedit/chared.h
parent66fc945ab85aa3068954ea215a152db2174622ec (diff)
downloadFreeBSD-src-b4995ae7cbe2904f2627a580e63b1528e34bdfe8.zip
FreeBSD-src-b4995ae7cbe2904f2627a580e63b1528e34bdfe8.tar.gz
Merge a small update from NetBSD.
Feb 15 21:55:23 2009 - chared.c chared.h pass lint on _LP64. MFC after: 1 week
Diffstat (limited to 'lib/libedit/chared.h')
-rw-r--r--lib/libedit/chared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/chared.h b/lib/libedit/chared.h
index 6636fc7..153fceb 100644
--- a/lib/libedit/chared.h
+++ b/lib/libedit/chared.h
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*
* @(#)chared.h 8.1 (Berkeley) 6/4/93
- * $NetBSD: chared.h,v 1.17 2006/03/06 21:11:56 christos Exp $
+ * $NetBSD: chared.h,v 1.18 2009/02/15 21:55:23 christos Exp $
* $FreeBSD$
*/
@@ -70,7 +70,7 @@ typedef struct c_macro_t {
* Undo information for vi - no undo in emacs (yet)
*/
typedef struct c_undo_t {
- int len; /* length of saved line */
+ ssize_t len; /* length of saved line */
int cursor; /* position of saved cursor */
char *buf; /* full saved text */
} c_undo_t;
OpenPOWER on IntegriCloud