author | KUDr |
Fri, 19 Jan 2007 22:41:50 +0000 | |
changeset 5990 | b3c4c4b66249 |
parent 5989 | 88540735bad4 |
child 5991 | 043bdfa8bf8a |
src/waypoint.cpp | file | annotate | diff | comparison | revisions |
--- a/src/waypoint.cpp Fri Jan 19 21:40:10 2007 +0000 +++ b/src/waypoint.cpp Fri Jan 19 22:41:50 2007 +0000 @@ -356,7 +356,7 @@ /* instead of 'static Station stat' use byte array to avoid Station's destructor call upon exit. As * a side effect, the station is not constructed now. */ - static byte stat_raw[sizeof Station]; + static byte stat_raw[sizeof(Station)]; static Station &stat = *(Station*)stat_raw; stat.train_tile = stat.xy = wp->xy;