From fa8fc579a890f37ceca6b0911c7d5a162b096af3 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 14 Jul 2025 22:28:55 +0200 Subject: [PATCH] =?UTF-8?q?crn=5Fdecomp:=20fix:=20warning:=20first=20argum?= =?UTF-8?q?ent=20in=20call=20to=20=E2=80=98memcpy=E2=80=99=20is=20a=20poin?= =?UTF-8?q?ter=20to=20non-trivially=20copyable=20type=20=E2=80=98crnd::pre?= =?UTF-8?q?fix=5Fcoding::decoder=5Ftables=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/crn_decomp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);