Skip to content

Commit

Permalink
Removed some warning about const char* used as char* (not our choice,…
Browse files Browse the repository at this point in the history
… it depends of some external API)
  • Loading branch information
terziman committed Apr 28, 2015
1 parent 07f3f4b commit 825a588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/assimp_view/Display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 825a588

Please sign in to comment.