summaryrefslogtreecommitdiff
path: root/tree_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree_cmd.c')
-rw-r--r--tree_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree_cmd.c b/tree_cmd.c
index 52854c9c6..d3a88aa07 100644
--- a/tree_cmd.c
+++ b/tree_cmd.c
@@ -271,7 +271,7 @@ static void DrawTile_Trees(TileInfo *ti)
{
uint16 tmp = ti->x;
- int index;
+ uint index;
tmp = (tmp >> 2) | (tmp << 14);
tmp -= ti->y;