summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-09 21:25:44 +0000
committertron <tron@openttd.org>2005-01-09 21:25:44 +0000
commit4450ff105c6ddb9ab855b9cf8b4dcbea315b11e0 (patch)
tree3a16c9375ca0fbd2f06a419b1b0876bf48c7a3e0 /network.c
parentd2e02df8814edab9e04437d8208d2e7786dfd999 (diff)
downloadopenttd-4450ff105c6ddb9ab855b9cf8b4dcbea315b11e0.tar.xz
(svn r1451) Fix some of the signed/unsigned comparison warnings
Diffstat (limited to 'network.c')
-rw-r--r--network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network.c b/network.c
index 26fd3b1ce..dc26e4063 100644
--- a/network.c
+++ b/network.c
@@ -620,7 +620,7 @@ static void NetworkAcceptClients(void)
#else
LONG sin_len; // for some reason we need a 'LONG' under MorphOS
#endif
- int i;
+ uint i;
bool banned;
// Should never ever happen.. is it possible??
@@ -878,7 +878,7 @@ void NetworkAddServer(const byte *b)
* by the function that generates the config file. */
void NetworkRebuildHostList()
{
- int i = 0;
+ uint i = 0;
NetworkGameList *item = _network_game_list;
while (item != NULL && i != lengthof(_network_host_list)) {
if (item->manually)