Browse Source

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

Léo Terziman 10 years ago
parent
commit
825a58803d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/assimp_view/Display.cpp

+ 1 - 1
tools/assimp_view/Display.cpp

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