Browse Source

Fixed compiler warnings regarding type of argument passed

pre-master-46
Jim Monte 6 years ago
committed by Holger Vogt
parent
commit
c7b95587de
  1. 2
      src/frontend/breakp.c
  2. 2
      src/frontend/device.c
  3. 2
      src/frontend/postcoms.c

2
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 */

2
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);

2
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)

Loading…
Cancel
Save