summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-03-21 02:55:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-03-21 02:55:05 (GMT)
commitfb1bc2eb4746983f3e41ed2be792f8b6b53f5e99 (patch)
treec0f14a97a1981c0b83928580d8e7de76a16e5958 /src
parentfad3328dbabccc33e984f2f9a39411e959dc03e1 (diff)
Fix the compilation in debug mode.
Diffstat (limited to 'src')
-rw-r--r--src/analysis/scan/patterns/backends/acism.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/scan/patterns/backends/acism.c b/src/analysis/scan/patterns/backends/acism.c
index 5037405..53bad11 100644
--- a/src/analysis/scan/patterns/backends/acism.c
+++ b/src/analysis/scan/patterns/backends/acism.c
@@ -598,7 +598,7 @@ static void g_acism_backend_build_trie(GAcismBackend *backend)
*/
else
{
- assert(backend->sources[node->matched_atom - 1].first);
+ assert(backend->sources[node->matched_atom - 1].is_first);
source->is_first = false;
source->first_source = node->matched_atom - 1;
@@ -665,7 +665,7 @@ static void g_acism_backend_build_trie(GAcismBackend *backend)
}
- assert(current_start == backend->source_count);
+ assert(current_start == backend->sources_count);
}