From: Perttu Ahola Date: Fri, 25 Nov 2011 17:45:04 +0000 (+0200) Subject: Fix "warning: comparison between signed and unsigned integer expressions" X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ae9f183cda7046028e6d74972922dc41cf6039bf;p=zefram%2Fminetest%2Fminetest_engine.git Fix "warning: comparison between signed and unsigned integer expressions" --- diff --git a/src/server.cpp b/src/server.cpp index 83412abf..12026054 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;