Previous 199869 Revisions Next

r31600 Sunday 10th August, 2014 at 21:14:26 UTC by R. Belmont
Fix Clang compile (nw)
[src/lib/util]coretmpl.h

trunk/src/lib/util/coretmpl.h
r31599r31600
120120   }
121121
122122#ifdef __GNUC__
123   void clear_internal(UINT32 start, UINT32 count, UINT8 data) { assert(__is_pod(_ElementType)); memset(&m_array[start], data, count * sizeof(*m_array)); }
123   void clear_internal(UINT32 start, UINT32 count, UINT8 data) { assert(__is_pod(_ElementType)); memset((void *)&m_array[start], data, count * sizeof(*m_array)); }
124124#else
125125   void clear_internal(UINT32 start, UINT32 count, UINT8 data) { memset(&m_array[start], data, count * sizeof(*m_array)); }
126126#endif

Previous 199869 Revisions Next


© 1997-2024 The MAME Team