]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix gack for compound types
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 10 Sep 2020 21:48:25 +0000 (23:48 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 10 Sep 2020 21:48:25 +0000 (23:48 +0200)
src/lib/engine.c

index efc508038377ba6009006ecfb0ca91e709e6fc70..35d3b45466e6eb29540d867de8425cab0644635d 100644 (file)
@@ -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) {                                     \