diff --git a/inc/crn_decomp.h b/inc/crn_decomp.h index fb88b716..1abb5558 100644 --- a/inc/crn_decomp.h +++ b/inc/crn_decomp.h @@ -1456,7 +1456,7 @@ class decoder_tables { clear(); - memcpy(this, &other, sizeof(*this)); + memcpy((void*) this, &other, sizeof(*this)); if (other.m_lookup) { m_lookup = crnd_new_array(m_cur_lookup_size);