newt-frontend.c: suppress incompatible pointer type warning.

This commit is contained in:
Leonid Krivoshein 2018-04-22 18:34:27 +03:00
parent 70bd62ff84
commit 547debb59b

View File

@ -310,7 +310,7 @@ static int mynewtWinEntries(char * title, char * text, int suggestedWidth, int f
for (i = 0; i < numItems; i++) {
newtComponent entr = newtEntry(-1, -1, items[i].value ?
*items[i].value : NULL, dataWidth,
items[i].value, items[i].flags);
(const char **) items[i].value, items[i].flags);
newtGridSetField(subgrid, 0, i, NEWT_GRID_COMPONENT,
newtLabel(-1, -1, items[i].text),