imgtools/romtools/rombuild/r_areaset.cpp
changeset 6 787612182dd0
parent 2 39c28ec933dd
--- a/imgtools/romtools/rombuild/r_areaset.cpp	Wed May 12 09:52:26 2010 +0100
+++ b/imgtools/romtools/rombuild/r_areaset.cpp	Thu May 13 08:38:18 2010 +0100
@@ -47,7 +47,7 @@
 Area::~Area()
 	{
 	ReleaseAllFiles();
-	free(const_cast<char*>(iName));	// allocated with strdup()
+	free(iName);	// allocated with strdup()
 	}