(svn r23770) -Fix: compilation with GCC 4.7

This commit is contained in:
smatz
2012-01-07 18:37:22 +00:00
parent 182969f531
commit 24bf6ea495
2 changed files with 7 additions and 7 deletions

View File

@@ -41,8 +41,8 @@ public:
*/
enum WaypointType {
/* Note: these values represent part of the in-game StationFacility enum */
WAYPOINT_RAIL = ::FACIL_TRAIN, ///< Rail waypoint
WAYPOINT_BUOY = ::FACIL_DOCK, ///< Buoy
WAYPOINT_RAIL = (int)::FACIL_TRAIN, ///< Rail waypoint
WAYPOINT_BUOY = (int)::FACIL_DOCK, ///< Buoy
WAYPOINT_ANY = WAYPOINT_RAIL | WAYPOINT_BUOY, ///< All waypoint types
};