1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

The libedit update made a const cast necessary.

This commit is contained in:
Stefan Farfeleder 2005-08-07 20:53:33 +00:00
parent 23fe4fa258
commit 515faf2fbe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148833

View File

@ -243,7 +243,7 @@ cmdloop(void)
* el_parse returns -1 to signal that it's not been handled
* internally.
*/
if (el_parse(elptr, cmd_argc, cmd_argv) != -1)
if (el_parse(elptr, cmd_argc, (const char **)cmd_argv) != -1)
continue;
if (cmd_argc) {
known = 0;