From 9708235ec4147d2c0428c9ae5186fad452b116ad Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 29 Oct 2021 16:24:50 +0200 Subject: Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, cdeq, cmap, csmap, cslist --- examples/astar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/astar.c') diff --git a/examples/astar.c b/examples/astar.c index 651886e9..04c18113 100644 --- a/examples/astar.c +++ b/examples/astar.c @@ -107,7 +107,7 @@ astar(cstr* maze, int width) int new_cost = *csmap_pcost_at(&costs, current); if (maze->str[point_index(&next)] != '#') { - csmap_pcost_value_t *cost = csmap_pcost_get(&costs, next); + csmap_pcost_value *cost = csmap_pcost_get(&costs, next); if (cost == NULL || new_cost < cost->second) { csmap_pcost_insert(&costs, next, new_cost); -- cgit v1.2.3