Browse Source

# fix gcc warning in export API (deleting void* is undefined)

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@906 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 14 years ago
parent
commit
f7eca27c1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/export.h

+ 1 - 1
include/export.h

@@ -107,7 +107,7 @@ struct aiExportDataBlob
 	/// Default constructor
 	aiExportDataBlob() { size = 0; data = NULL; }
 	/// Releases the data
-	~aiExportDataBlob() { delete data; }
+	~aiExportDataBlob() { delete static_cast<char*>( data ); }
 #endif // __cplusplus
 };