diff options
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/mangling/itanium/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/mangling/itanium/context.c b/src/format/mangling/itanium/context.c index 87cb9ed..d4be54c 100644 --- a/src/format/mangling/itanium/context.c +++ b/src/format/mangling/itanium/context.c @@ -480,7 +480,7 @@ void g_itanium_dcontext_add_substitution(GItaniumDContext *context, itanium_comp hash = itd_hash_comp(comp); for (i = 0; i < context->subst_count; i++) - if (cmp_fnv_64a(itd_hash_comp(context->substitutions[i]), hash)) + if (cmp_fnv_64a(itd_hash_comp(context->substitutions[i]), hash) == 0) break; if (i == context->subst_count) |