From d1f9859804ab813a1eef48048e3f8fdeb2071a45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 10 Sep 2020 23:48:25 +0200 Subject: [PATCH] :bug: Fix gack for compound types --- src/lib/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { \ -- 2.43.0