constVariablePointer

This commit is contained in:
gtsoul-tech
2024-05-02 14:21:16 +03:00
parent cec3332c69
commit 2903681129
32 changed files with 101 additions and 101 deletions

View File

@@ -167,7 +167,7 @@ void pushQueueNoMerge(struct mq * restrict q, u32 e, s64a loc) {
// We assert that the event is different from its predecessor. If it's a
// dupe, you should have used the ordinary pushQueue call.
if (q->end) {
UNUSED struct mq_item *prev = &q->items[q->end - 1];
UNUSED const struct mq_item *prev = &q->items[q->end - 1];
assert(prev->type != e || prev->location != loc);
}
#endif