Revision: 56752
http://sourceforge.net/p/brlcad/code/56752
Author: brlcad
Date: 2013-08-12 18:53:41 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
consistency with the other pointer tests, cast through intptr_t and mask
against a long
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/bot/tieprivate.h
Modified: brlcad/trunk/src/librt/primitives/bot/tieprivate.h
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/tieprivate.h 2013-08-12 17:46:39 UTC
(rev 56751)
+++ brlcad/trunk/src/librt/primitives/bot/tieprivate.h 2013-08-12 18:53:41 UTC
(rev 56752)
@@ -34,8 +34,8 @@
* the object. 0x4 marks if the node has children (is set to 0 for a leaf), the
* last two are the encoding for the splitting plane. Allocation must be a
* multiple of 8. */
-#define TIE_HAS_CHILDREN(ptr) (((size_t)(ptr))&0x4)
-#define TIE_SET_HAS_CHILDREN(ptr) (((size_t)(ptr))|0x4)
+#define TIE_HAS_CHILDREN(ptr) (((intptr_t)(ptr))&0x4L)
+#define TIE_SET_HAS_CHILDREN(ptr) (((intptr_t)(ptr))|0x4L)
struct tie_geom_s {
struct tie_tri_s **tri_list;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits