HMDL_RT: Remove unnecessary pointer cast

The MemoryReader class already accepts const qualified data, so there's
no need to cast away const.
This commit is contained in:
Lioncash 2020-04-05 09:03:36 -04:00
parent a441a3e7a0
commit ebb0a161c3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ static logvisor::Module HMDL_Log("HMDL");
HMDLData::HMDLData(boo::IGraphicsDataFactory::Context& ctx, const void* metaData, const void* vbo, const void* ibo) {
HMDLMeta meta;
{
athena::io::MemoryReader r((atUint8*)metaData, HECL_HMDL_META_SZ);
athena::io::MemoryReader r(metaData, HECL_HMDL_META_SZ);
meta.read(r);
}
if (meta.magic != 'TACO')