diff options
| author | Tyge Løvset <[email protected]> | 2021-03-01 17:36:16 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-03-01 17:36:16 +0100 |
| commit | 23f0ae51477c08d7329b98f1440ae9cccaccb823 (patch) | |
| tree | d12dab1e0ce231f91bfc11f93e59db0169ae7674 /examples | |
| parent | df259d54a43039f0cd2e4bbb168bf60a8dd97973 (diff) | |
| download | STC-modified-23f0ae51477c08d7329b98f1440ae9cccaccb823.tar.gz STC-modified-23f0ae51477c08d7329b98f1440ae9cccaccb823.zip | |
Cleanup c++ compilation of cbits.h
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stc_astar.c | 2 |
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
|
