diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-28 20:20:18 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-28 20:20:18 +0300 |
| commit | 7a69d0103dadc08f228d14b27d38df193044bb29 (patch) | |
| tree | 4920f0ef1e60f42e8ed312cffeb620a944a6670a /stack.c | |
| parent | fc29c9bf10ebf471708caecdfed030ec78c915cb (diff) | |
| download | astar-7a69d0103dadc08f228d14b27d38df193044bb29.tar.xz | |
Add a FIXME
Diffstat (limited to 'stack.c')
| -rw-r--r-- | stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
