diff options
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r-- | src/tree_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 4a996dbba..1184bfd52 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -498,7 +498,7 @@ static void DrawTile_Trees(TileInfo *ti) uint mi = 0; for (uint i = 1; i < trees; i++) { - if (te[i].x + te[i].y < min) { + if ((uint)(te[i].x + te[i].y) < min) { min = te[i].x + te[i].y; mi = i; } |