diff --git a/src/frontend/breakp.c b/src/frontend/breakp.c index 0766361a3..3f74e6102 100644 --- a/src/frontend/breakp.c +++ b/src/frontend/breakp.c @@ -95,7 +95,7 @@ com_stop(wordlist *wl) charr[1] = copy("eq"); charr[2] = tokafter; charr[3] = NULL; - wln = wl_build(charr); + wln = wl_build((const char * const *) charr); wl_splice(wl->wl_next, wln); } /* continue with parsing the enhanced wordlist */ diff --git a/src/frontend/device.c b/src/frontend/device.c index 9c7e7a453..37c806b6f 100644 --- a/src/frontend/device.c +++ b/src/frontend/device.c @@ -1469,7 +1469,7 @@ com_alter_mod(wordlist *wl) } arglist[2] = inptoken; /* create a new wordlist from array arglist */ - newcommand = wl_build(arglist); + newcommand = wl_build((const char * const *) arglist); com_alter_common(newcommand->wl_next, 1); wl_free(newcommand); tfree(inptoken); diff --git a/src/frontend/postcoms.c b/src/frontend/postcoms.c index 728a305ee..e5da60b2e 100644 --- a/src/frontend/postcoms.c +++ b/src/frontend/postcoms.c @@ -579,7 +579,7 @@ com_write_sparam(wordlist *wl) sbuf[3] = "S12"; sbuf[4] = "S22"; sbuf[5] = NULL; - wl_sparam = wl_build(sbuf); + wl_sparam = wl_build((const char * const *) sbuf); names = ft_getpnames(wl_sparam, TRUE); if (names == NULL)