From: Jérémie Astor Date: Thu, 10 Sep 2020 21:48:25 +0000 (+0200) Subject: :bug: Fix gack for compound types X-Git-Tag: nightly~1349 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d1f9859804ab813a1eef48048e3f8fdeb2071a45;p=gwion.git :bug: Fix gack for compound types --- diff --git a/src/lib/engine.c b/src/lib/engine.c index efc50803..35d3b454 100644 --- a/src/lib/engine.c +++ b/src/lib/engine.c @@ -56,7 +56,7 @@ static GACK(gack_float) { } static GACK(gack_compound) { - INTERP_PRINTF("%p", VALUE); + INTERP_PRINTF("%p", *(void**)VALUE); } #define mk_class_instr(op, arg0, arg1, ...) \ static INSTR(instr_class_##op) { \