diff options
author | alberth <alberth@openttd.org> | 2009-10-24 20:28:54 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-10-24 20:28:54 +0000 |
commit | dae5dceb851dcae68948072a4d4de37f434bb476 (patch) | |
tree | c8fd8a49dc692f34e35eb417c50f1b5ad7f86aab | |
parent | da0ac0923401e3e765fca8e29b50050305664501 (diff) | |
download | openttd-dae5dceb851dcae68948072a4d4de37f434bb476.tar.xz |
(svn r17861) -Fix (r17860): max(uint, int) does not exist.
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 38f92b1a4..00ae8ea9b 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -340,7 +340,7 @@ struct RefitWindow : public Window { size->height = resize->height * 8; break; case VRW_INFOPANEL: - size->height = max(size->height, WD_FRAMERECT_TOP + 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM); + size->height = max(size->height, (uint)(WD_FRAMERECT_TOP + 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM)); break; } } |