瀏覽代碼

Fix compile error

rdb 11 年之前
父節點
當前提交
c7a3a7d4ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pandatool/src/objegg/eggToObjConverter.cxx

+ 1 - 1
pandatool/src/objegg/eggToObjConverter.cxx

@@ -153,7 +153,7 @@ process(const Filename &filename) {
 
   write_faces(*file, _egg_data);
 
-  bool success = ((void *)(*file) != NULL);
+  bool success = (file != (ostream *)NULL);
   vfs->close_write_file(file);
 
   return success;