From f9533ee8fc329fa58048de7e154a3e7619330fd0 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 20 Aug 2021 20:56:24 +0000 Subject: [PATCH] Fix up silly warnings in fteqcc's decompiler. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6030 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/decomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/qclib/decomp.c b/engine/qclib/decomp.c index e37e519f7..d1d631b92 100644 --- a/engine/qclib/decomp.c +++ b/engine/qclib/decomp.c @@ -1978,7 +1978,7 @@ void DecompileDecompileStatement(dfunction_t * df, dstatement_t * s, int *indent } } - else if (pr_opcodes[s->op].flags & OPF_STOREPTR) + else if (pr_opcodes[s->op].flags & (OPF_STOREPTR|OPF_STOREPTROFS)) { arg1 = DecompileGet(df, s->a, typ2); //FIXME: we need to deal with ref types and other crazyness, so we know whether we need to add * or *& or if we can skip that completely