aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-25 19:45:04 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:52 +0200
commitae9f183cda7046028e6d74972922dc41cf6039bf (patch)
tree920c67b475fcea2f35764594f3fddd5b4a1b5db4
parent71bc20c45348240fe7863d4fab0d265755f3f723 (diff)
downloadminetest-ae9f183cda7046028e6d74972922dc41cf6039bf.tar.gz
minetest-ae9f183cda7046028e6d74972922dc41cf6039bf.tar.bz2
minetest-ae9f183cda7046028e6d74972922dc41cf6039bf.zip
Fix "warning: comparison between signed and unsigned integer expressions"
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 83412abfb..12026054e 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -688,7 +688,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
//if(server->m_emerge_queue.peerItemCount(peer_id) < 1)
// Allow two blocks in queue per client
//if(server->m_emerge_queue.peerItemCount(peer_id) < 2)
- s32 max_emerge = 25;
+ u32 max_emerge = 25;
// Make it more responsive when needing to generate stuff
if(surely_not_found_on_disk)
max_emerge = 5;