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
|
// fill in the first entry
|
||||||
TVITEMEX tvi;
|
TVITEMEX tvi;
|
||||||
TVINSERTSTRUCT sNew;
|
TVINSERTSTRUCT sNew;
|
||||||
tvi.pszText = "Model";
|
tvi.pszText = (char*) "Model";
|
||||||
tvi.cchTextMax = (int)strlen(tvi.pszText);
|
tvi.cchTextMax = (int)strlen(tvi.pszText);
|
||||||
tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_STATE;
|
tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_STATE;
|
||||||
tvi.state = TVIS_EXPANDED;
|
tvi.state = TVIS_EXPANDED;
|
||||||
|
|
Loading…
Reference in New Issue