diff options
author | tron <tron@openttd.org> | 2005-07-19 21:49:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-19 21:49:35 +0000 |
commit | 7c694f25537097f380d7215082b42eea51e86815 (patch) | |
tree | 02f05ccb111e772991e342a10812e26ae8d1a118 /road_cmd.c | |
parent | 4b1c5202640d5c741ebdda3b3775a337a1c36be8 (diff) | |
download | openttd-7c694f25537097f380d7215082b42eea51e86815.tar.xz |
(svn r2643) Get rid of some unnecessary casts
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c index 0ef9a1b43..cf1d96cbd 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -496,7 +496,7 @@ int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec) if (!CheckTileOwnership(tile) || !EnsureNoVehicle(tile)) return CMD_ERROR; // tile is already of requested type? - if ( (uint)(_m[tile].m4 & 0xF) == totype) return CMD_ERROR; + if ((_m[tile].m4 & 0xFU) == totype) return CMD_ERROR; if (exec) { // change type. |