summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 23ac09e7b..85e12fa25 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -247,12 +247,12 @@ static bool FindNearIndustryName(TileIndex tile, void *user_data)
static StringID GenerateStationName(Station *st, TileIndex tile, int flag)
{
static const uint32 _gen_station_name_bits[] = {
- 0, // 0
- 1 << M(STR_SV_STNAME_AIRPORT), // 1
- 1 << M(STR_SV_STNAME_OILFIELD), // 2
- 1 << M(STR_SV_STNAME_DOCKS), // 3
- 0x1FF << M(STR_SV_STNAME_BUOY_1), // 4
- 1 << M(STR_SV_STNAME_HELIPORT), // 5
+ 0, // 0
+ 1U << M(STR_SV_STNAME_AIRPORT), // 1
+ 1U << M(STR_SV_STNAME_OILFIELD), // 2
+ 1U << M(STR_SV_STNAME_DOCKS), // 3
+ 0x1FFU << M(STR_SV_STNAME_BUOY_1), // 4
+ 1U << M(STR_SV_STNAME_HELIPORT), // 5
};
const Town *t = st->town;