summaryrefslogtreecommitdiff
path: root/src/format/mangling
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-07-10 14:47:37 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-07-10 14:47:37 (GMT)
commitdb863244b804cbf4c06399f7c6f8241d91c9ee9b (patch)
treeda7cc911b0f10c5122536271235ab68f2202804a /src/format/mangling
parente8aa314462196cc9e8461ae23eb13f8bffcc983f (diff)
Fully rewritten the core configuration system.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@381 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/mangling')
-rw-r--r--src/format/mangling/itanium/context.c2
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)