diff --git a/hecl/lib/Runtime/HMDL_RT.cpp b/hecl/lib/Runtime/HMDL_RT.cpp index 5695a03d1..c9d4cd1b8 100644 --- a/hecl/lib/Runtime/HMDL_RT.cpp +++ b/hecl/lib/Runtime/HMDL_RT.cpp @@ -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')