summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-29 19:21:55 +0000
committerrubidium <rubidium@openttd.org>2014-09-29 19:21:55 +0000
commit8385e6268e28a875157560313d308e8302626699 (patch)
tree87a22da1c36c02e73244b4b171f585001e5bda7b
parent61c3e8e848c977e24a0cbde2264e0784a4224987 (diff)
downloadopenttd-8385e6268e28a875157560313d308e8302626699.tar.xz
(svn r26940) -Fix (r26937): comparing values of different signedness
-rw-r--r--src/tgp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index 2a9f4bca7..f12d15505 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -203,7 +203,7 @@ static HeightMap _height_map = {NULL, 0, 0, 0, 0};
#define FOR_ALL_TILES_IN_HEIGHT(h) for (h = _height_map.h; h < &_height_map.h[_height_map.total_size]; h++)
/** Maximum index into array of noise amplitudes */
-static const int TGP_FREQUENCY_MAX = 6;
+static const uint TGP_FREQUENCY_MAX = 6;
/**
* Noise amplitudes (multiplied by 1024)