Removed c style cast
This commit is contained in:
@@ -141,7 +141,7 @@ namespace OMFormat {
|
||||
|
||||
size_t restore( std::istream& _is, bool _swap )
|
||||
{
|
||||
if (_is.read( (char*)this, 4 ).eof())
|
||||
if (_is.read( reinterpret_cast<char*>(this) , 4 ).eof())
|
||||
return 0;
|
||||
|
||||
size_t bytes = 4;
|
||||
|
||||
Reference in New Issue
Block a user