bintools/checklib/library/library.cpp
changeset 6 787612182dd0
parent 2 39c28ec933dd
--- a/bintools/checklib/library/library.cpp	Wed May 12 09:52:26 2010 +0100
+++ b/bintools/checklib/library/library.cpp	Thu May 13 08:38:18 2010 +0100
@@ -53,7 +53,7 @@
     m_mem_p = new char[size];
 
     file.seekg(0, std::ios::beg);
-    file.read( const_cast<char*>(m_mem_p), size );
+	file.read(m_mem_p, size );
 
     file.close();