summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-09-11 17:42:46 +0000
committerglx <glx@openttd.org>2007-09-11 17:42:46 +0000
commit7b7c66fb6b604e32dbcfb6104771b33fa6f32dc1 (patch)
tree373ae0322a5783ec7d3a33f6057ff34231349d88 /src/vehicle_gui.cpp
parent22843caaf53d597d21d5972f49ecc8841be50c9c (diff)
downloadopenttd-7b7c66fb6b604e32dbcfb6104771b33fa6f32dc1.tar.xz
(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 16f42465b..252293a5a 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1245,7 +1245,7 @@ void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type)
* if _ctrl_pressed, do the opposite action (Advanced list x Normal list)
*/
- if ((_patches.advanced_vehicle_list > (player != _local_player)) != _ctrl_pressed) {
+ if ((_patches.advanced_vehicle_list > (uint)(player != _local_player)) != _ctrl_pressed) {
ShowPlayerGroup(player, vehicle_type);
} else {
ShowVehicleListWindowLocal(player, VLW_STANDARD, vehicle_type, 0);