1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(svn r26940) -Fix (r26937): comparing values of different signedness

This commit is contained in:
rubidium
2014-09-29 19:21:55 +00:00
parent 61c3e8e848
commit 8385e6268e

@@ -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++) #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 */ /** 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) * Noise amplitudes (multiplied by 1024)