From fb1bc2eb4746983f3e41ed2be792f8b6b53f5e99 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Thu, 21 Mar 2024 03:55:05 +0100
Subject: Fix the compilation in debug mode.

---
 src/analysis/scan/patterns/backends/acism.c | 4 ++--
 1 file 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);
 
 }
 
-- 
cgit v0.11.2-87-g4458