瀏覽代碼

fix for MSVC9

Chris Brunner 17 年之前
父節點
當前提交
01493c57c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pandatool/src/softegg/softNodeTree.cxx

+ 1 - 1
pandatool/src/softegg/softNodeTree.cxx

@@ -142,7 +142,7 @@ GetModelNoteInfo( SAA_Scene *scene, SAA_Elem *model ) {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 char *SoftNodeTree::
 char *SoftNodeTree::
 GetRootName( const char *name ) {
 GetRootName( const char *name ) {
-  char *hyphen;
+  const char *hyphen;
   char *root;
   char *root;
   int len;
   int len;