trunk/src/lib/util/coretmpl.h
| r31599 | r31600 | |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | #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)); } |
| 124 | 124 | #else |
| 125 | 125 | void clear_internal(UINT32 start, UINT32 count, UINT8 data) { memset(&m_array[start], data, count * sizeof(*m_array)); } |
| 126 | 126 | #endif |