Removed some warning about const char* used as char* (not our choice, it depends of some external API)
parent
07f3f4b487
commit
825a58803d
|
@ -693,7 +693,7 @@ int CDisplay::FillDisplayList(void)
|
|||
// fill in the first entry
|
||||
TVITEMEX tvi;
|
||||
TVINSERTSTRUCT sNew;
|
||||
tvi.pszText = "Model";
|
||||
tvi.pszText = (char*) "Model";
|
||||
tvi.cchTextMax = (int)strlen(tvi.pszText);
|
||||
tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_STATE;
|
||||
tvi.state = TVIS_EXPANDED;
|
||||
|
|
Loading…
Reference in New Issue