Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling fruit

Author: Alessandro Scotti

Date: 06:57:47 01/25/06

Go up one level in this thread


On January 25, 2006 at 07:58:30, Uri Blass wrote:

>try to replace     entry = &Material->table[KEY_INDEX(key)&Material->mask];
>by                 entry = &Material->table[uint32(key)&Material->mask];
>
>Note that fruit has in hash.h
>#define KEY_INDEX(key) (uint32(key))
>
>The problem is that this definition is too complex for the stupid compiler that
>I use to understand it.

#define KEY_INDEX(key) ((uint32)(key))

also works.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.