summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index dc5a992f1..0f6ccd0fd 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -64,7 +64,7 @@ static inline void DrawVehicleImage(const Vehicle *v, int x, int y, int count, i
}
}
-static inline byte GetVehicleListHeight(byte type)
+static inline uint GetVehicleListHeight(byte type)
{
return (type == VEH_Train || type == VEH_Road) ? 14 : 24;
}