changeset 5303:9281e7a8072a

[project @ 2005-04-22 20:51:31 by jwe]
author jwe
date Fri, 22 Apr 2005 20:51:31 +0000
parents 67f74c2fe742
children 7b6edb02f8c9
files liboctave/ChangeLog liboctave/oct-rl-edit.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-22  John W. Eaton  <jwe@octave.org>
+
+	* oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away
+	const here now that rl_terminal_name is declared const char*.
+
 2005-04-21  John W. Eaton  <jwe@octave.org>
 
 	* Makefile.in (DISTFILES): Include oct-types.h.in in the list.
--- a/liboctave/oct-rl-edit.c
+++ b/liboctave/oct-rl-edit.c
@@ -287,7 +287,7 @@
 void
 octave_rl_set_terminal_name (const char *term)
 {
-  rl_terminal_name = (char *) term;
+  rl_terminal_name = term;
 }
 
 void