for( index = 0, queries = 0 ; index < serverlist_cachecount && queries < maxqueries ; index++ )
{
serverlist_entry_t *entry = &serverlist_cache[ index ];
- if( entry->query != SQS_QUERYING )
+ if( entry->query != SQS_QUERYING )
{
continue;
}
continue;
}
- if( entry->querycounter != (unsigned) net_slist_maxtries.integer )
+ if( entry->querycounter != (unsigned) net_slist_maxtries.integer )
{
lhnetaddress_t address;
int socket;
Con_Printf("querying %25s (%i. try)\n", entry->info.cname, entry->querycounter);
queries++;
- }
- else
+ }
+ else
{
entry->query = SQS_TIMEDOUT;
}
int length;
// How many clients are there?
- for (i = 0;i < svs.maxclients;i++)
+ for (i = 0;i < (unsigned int)svs.maxclients;i++)
if (svs.clients[i].active)
nb_clients++;
ptr = out_msg + length;
left = out_size - length;
- for (i = 0;i < svs.maxclients;i++)
+ for (i = 0;i < (unsigned int)svs.maxclients;i++)
{
client_t *cl = &svs.clients[i];
if (cl->active)