From 8385e6268e28a875157560313d308e8302626699 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 29 Sep 2014 19:21:55 +0000 Subject: [PATCH] (svn r26940) -Fix (r26937): comparing values of different signedness --- src/tgp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tgp.cpp b/src/tgp.cpp index 2a9f4bca74..f12d15505e 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)