newt-frontend.c: suppress incompatible pointer type warning.
This commit is contained in:
parent
70bd62ff84
commit
547debb59b
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user