Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: Freeciv Networking/Mac Server patches
Home

[Freeciv-Dev] Re: Freeciv Networking/Mac Server patches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Freeciv Networking/Mac Server patches
From: gs234@xxxxxxxxx (Gaute (B) Strokkenes)
Date: 03 Sep 2000 01:57:33 +0200

David Pfitzner <dwp@xxxxxxxxxxxxxx> writes:

> David Pfitzner wrote:
> 
> -  unsigned char cache[A_LAST][A_LAST];
> +  unsigned char cache[A_LAST][A_LAST/8+1];   /* bit vector for tech pairs */

Dare I suggest [(A_LAST + 7) / 8] instead?  Not that it really matters...

-- 
Big Gaute (not to be confused with LG)
I'm changing the CHANNEL..  But all I get is commercials
 for ``RONCO MIRACLE BAMBOO STEAMERS''!



[Prev in Thread] Current Thread [Next in Thread]