Module Name: src Committed By: christos Date: Wed Jul 27 13:18:20 UTC 2011
Modified Files: src/lib/libedit: history.c Log Message: fix narrow compilation To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/lib/libedit/history.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libedit/history.c diff -u src/lib/libedit/history.c:1.39 src/lib/libedit/history.c:1.40 --- src/lib/libedit/history.c:1.39 Tue Jul 26 22:23:29 2011 +++ src/lib/libedit/history.c Wed Jul 27 09:18:20 2011 @@ -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