summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/stc_astar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stc_astar.c b/examples/stc_astar.c
index cdf1ff3c..d096c9fc 100644
--- a/examples/stc_astar.c
+++ b/examples/stc_astar.c
@@ -19,7 +19,7 @@ typedef struct {
MazePoint
mpoint_init(int x, int y, int width)
{
- return (MazePoint) { x, y, 0, width };
+ MazePoint p = { x, y, 0, width }; return p;
}
int