summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2016-09-21 03:13:47 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2016-09-21 03:13:47 +0200
commit7e8cb867ba9ca9d0f533a8329712117ba38115a6 (patch)
tree5d28846ab9b0946ccaf14bc530dbf36533b6bde9 /src/core/sequence.c
parent8994c7b5cf56f540c71c763173a8927569ba94b3 (diff)
Fixes "No back sequence" + forbids name as pillar.
Diffstat (limited to 'src/core/sequence.c')
-rw-r--r--src/core/sequence.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/sequence.c b/src/core/sequence.c
index 0f4043e..67174d1 100644
--- a/src/core/sequence.c
+++ b/src/core/sequence.c
@@ -14,11 +14,11 @@ static int cmp_seq_link
)
{
ZoO_index j;
- ZoO_index * sequence;
- struct ZoO_knowledge_link * link;
+ const ZoO_index * sequence;
+ const struct ZoO_knowledge_link * link;
- sequence = (ZoO_index *) a;
- link = (struct ZoO_knowledge_link *) b;
+ sequence = (const ZoO_index *) a;
+ link = (const struct ZoO_knowledge_link *) b;
for (j = 0; j < ZoO_SEQUENCE_SIZE; ++j)
{