aboutsummaryrefslogtreecommitdiff
path: root/stack.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-28 20:20:18 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-28 20:20:18 +0300
commit7a69d0103dadc08f228d14b27d38df193044bb29 (patch)
tree4920f0ef1e60f42e8ed312cffeb620a944a6670a /stack.c
parentfc29c9bf10ebf471708caecdfed030ec78c915cb (diff)
downloadastar-7a69d0103dadc08f228d14b27d38df193044bb29.tar.xz
Add a FIXME
Diffstat (limited to 'stack.c')
-rw-r--r--stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack.c b/stack.c
index f0624c8..d719cb3 100644
--- a/stack.c
+++ b/stack.c
@@ -11,7 +11,7 @@ PositionStack ps_new(void) {
}
int ps_push(PositionStack *ps, Position pos) {
- if (ps->top >= STACK_SIZE) return -1;
+ if (ps->top >= STACK_SIZE) return -1; /* FIXME: do a dynamic stack */
ps->arr[ps->top] = pos;
ps->top += 1;
return 0;