From 10c682acf63d3543b4882b806037a393a4987d06 Mon Sep 17 00:00:00 2001 From: makise-homura Date: Mon, 30 Nov 2020 02:10:06 +0300 Subject: [PATCH] Change type of ops[] to deal with goto *p for EDG compilers --- src/common/scripting/vm/vmexec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/scripting/vm/vmexec.h b/src/common/scripting/vm/vmexec.h index 76e7596e7c..dc32d86c0e 100644 --- a/src/common/scripting/vm/vmexec.h +++ b/src/common/scripting/vm/vmexec.h @@ -40,7 +40,7 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret) { #if COMPGOTO - static const void * const ops[256] = + static void * const ops[256] = { #define xx(op,sym,mode,alt,kreg,ktype) &&op, #include "vmops.h"