summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-11 20:28:26 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-11 20:28:26 +0000
commit0f8d1315f5f50f1e499c78b4f31452ea7668e04c (patch)
treeac3cb225c584d80ee3b52343282494adeb419dd2
parentc822eeaaf1aa9ae1fe869d349925b0c4932b69c2 (diff)
downloadFreeBSD-src-0f8d1315f5f50f1e499c78b4f31452ea7668e04c.zip
FreeBSD-src-0f8d1315f5f50f1e499c78b4f31452ea7668e04c.tar.gz
El_parse's third parameter is now const-qualified, add a cast.
-rw-r--r--bin/sh/histedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index 7e05232..4d7793b 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -481,7 +481,7 @@ bindcmd(int argc, char **argv)
if (el == NULL)
error("line editing is disabled");
- return (el_parse(el, argc, argv));
+ return (el_parse(el, argc, (const char **)argv));
}
#else
OpenPOWER on IntegriCloud