diff options
author | darkvater <darkvater@openttd.org> | 2005-01-03 14:07:49 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-03 14:07:49 +0000 |
commit | 39f8b82640675d4810b9e4817ad09c7cb7bd4022 (patch) | |
tree | 1e6578e0e541a96bc27287df36c3604a74ff140e /industry_cmd.c | |
parent | 32bfe0dddde81d016cb8de15e6a41bca3506d7be (diff) | |
download | openttd-39f8b82640675d4810b9e4817ad09c7cb7bd4022.tar.xz |
(svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying.
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index 707f7c66b..aae700653 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -1212,8 +1212,8 @@ static CheckNewIndustryProc * const _check_new_industry_procs[] = { static bool CheckSuitableIndustryPos(uint tile) { - int x = GET_TILE_X(tile); - int y = GET_TILE_Y(tile); + uint x = GET_TILE_X(tile); + uint y = GET_TILE_Y(tile); if ( x < 2 || y < 2 || x > MapMaxX() - 3 || y > MapMaxY() - 3) { _error_message = STR_0239_SITE_UNSUITABLE; |