From ec6a1776f3324cda4645fe57da24e9596495b07d Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 8 Feb 2008 17:53:01 +0000 Subject: (svn r12087) -Fix: MSVC warnings --- src/tree_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tree_cmd.cpp') 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; } -- cgit v1.2.3-70-g09d2