[brlcad-commits] SF.net SVN: brlcad:[33610] brlcad/trunk/include/bu.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2009-01-27 04:50:42
|
Revision: 33610 http://brlcad.svn.sourceforge.net/brlcad/?rev=33610&view=rev Author: brlcad Date: 2009-01-27 04:50:38 +0000 (Tue, 27 Jan 2009) Log Message: ----------- gah, hard-coding to 5 is a problem on 64-bit platforms where long's can be 64-bit and require a 6 shift. must have been asleep at the keyboard. Modified Paths: -------------- brlcad/trunk/include/bu.h Modified: brlcad/trunk/include/bu.h =================================================================== --- brlcad/trunk/include/bu.h 2009-01-27 02:16:49 UTC (rev 33609) +++ brlcad/trunk/include/bu.h 2009-01-27 04:50:38 UTC (rev 33610) @@ -966,7 +966,7 @@ * disabled for a handful of primitives that heavily rely on bit * vectors. */ -#define BU_BITV_SHIFT 5 +#define BU_BITV_SHIFT bu_bitv_shift() /** Bit vector mask */ #define BU_BITV_MASK ((1<<BU_BITV_SHIFT)-1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |