Removed some warning about const char* used as char* (not our choice, it depends of some external API)

pull/546/head
Léo Terziman 2015-04-28 17:30:15 +02:00
parent 07f3f4b487
commit 825a58803d
1 changed files with 1 additions and 1 deletions

View File

@ -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;