summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-12-10 18:53:16 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-12-10 18:53:16 +0100
commitdfb3eb771683ae4cc5ae43a990352578ab20f0fa (patch)
tree47ae2c8e53c66e4836dd7f79f50f43055bbc0496
parent4ab54f1aefd6a3ecc5e2340cbc15d492444daff5 (diff)
Filter: Fix function comparison
Check the SYM_FLAG_SAME in new symbols. The old code checked that in old symbols (f2).
-rw-r--r--filter/f-inst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/f-inst.c b/filter/f-inst.c
index e3e0d76d..51a35350 100644
--- a/filter/f-inst.c
+++ b/filter/f-inst.c
@@ -924,7 +924,7 @@
SYMBOL;
FID_SAME_BODY()
- if (!(f2->sym->flags & SYM_FLAG_SAME))
+ if (!(f1->sym->flags & SYM_FLAG_SAME))
return 0;
FID_INTERPRET_BODY()