On 05/02/2011, at 7:21 PM, Bisht, Pradeep wrote:
> finally i get to make my program work. there were some more 1L in
> JudyPrivate.h which needed to be changed to 1LL (the proper word size on
> 64-bit windows).
You mean these?
#define JU_BITPOSMASKB(BITNUM) (1L << ((BITNUM) % cJU_BITSPERSUBEXPB))
#define JU_BITPOSMASKL(BITNUM) (1L << ((BITNUM) % cJU_BITSPERSUBEXPL))
> Is there any regression suite that I can run make sure I have not broken
> anything? Also I would like to give back to community this code which now
> works on windows 64-bit - is there way I can do it. Thanks.
Well, you don't have a portable solution here: you cannot use lLL. The right
way to do this is:
(Word_t)1u
with a cast, that's portable.
--
john skaller
[email protected]
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel