From ae9f183cda7046028e6d74972922dc41cf6039bf Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 25 Nov 2011 19:45:04 +0200 Subject: [PATCH] Fix "warning: comparison between signed and unsigned integer expressions" --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2