Revision: 41480
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41480&view=rev
Author:   brlcad
Date:     2010-11-30 14:12:17 +0000 (Tue, 30 Nov 2010)

Log Message:
-----------
rt_g structure was using int for debug information making the structure size 
variable and making the debug flags declarations potentially not match the 
variable they are compared against.  make both debug vars (debug and NMG_debug) 
be uint32_t instead of int.

Modified Paths:
--------------
    brlcad/trunk/include/raytrace.h

Modified: brlcad/trunk/include/raytrace.h
===================================================================
--- brlcad/trunk/include/raytrace.h     2010-11-30 14:09:05 UTC (rev 41479)
+++ brlcad/trunk/include/raytrace.h     2010-11-30 14:12:17 UTC (rev 41480)
@@ -1669,11 +1669,11 @@
  * of how many different models are being worked on
  */
 struct rt_g {
-    int                        debug;          /**< @brief  !0 for debug, see 
librt/debug.h */
+    uint32_t           debug;          /**< @brief  !0 for debug, see 
librt/debug.h */
     /* DEPRECATED:  rtg_parallel is not used by LIBRT any longer (and will be 
removed) */
-    int                        rtg_parallel;   /**< @brief  !0 = trying to use 
multi CPUs */
+    int8_t             rtg_parallel;   /**< @brief  !0 = trying to use multi 
CPUs */
     struct bu_list     rtg_vlfree;     /**< @brief  head of bn_vlist freelist 
*/
-    int                        NMG_debug;      /**< @brief  debug bits for 
NMG's see nmg.h */
+    uint32_t           NMG_debug;      /**< @brief  debug bits for NMG's see 
nmg.h */
     struct rt_wdb      rtg_headwdb;    /**< @brief  head of database object 
list */
 };
 RT_EXPORT extern struct rt_g rt_g;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to