Revision: 55708
http://sourceforge.net/p/brlcad/code/55708
Author: carlmoore
Date: 2013-06-11 13:11:44 +0000 (Tue, 11 Jun 2013)
Log Message:
-----------
correct lu vs. d discrepancy between variable & format specification; also
remove unneeded braces
Modified Paths:
--------------
brlcad/trunk/src/rt/view.c
Modified: brlcad/trunk/src/rt/view.c
===================================================================
--- brlcad/trunk/src/rt/view.c 2013-06-10 22:49:18 UTC (rev 55707)
+++ brlcad/trunk/src/rt/view.c 2013-06-11 13:11:44 UTC (rev 55708)
@@ -1871,9 +1871,9 @@
* structures in the space partitioning tree
*/
bu_ptbl_init(&stps, 8, "soltabs to delete");
- if (R_DEBUG & RDEBUG_LIGHT) {
- bu_log("deleting %d invisible light regions\n",
BU_PTBL_LEN(&ap->a_rt_i->delete_regs));
- }
+ if (R_DEBUG & RDEBUG_LIGHT)
+ bu_log("deleting %lu invisible light regions\n",
BU_PTBL_LEN(&ap->a_rt_i->delete_regs));
+
for (i=0; i<BU_PTBL_LEN(&ap->a_rt_i->delete_regs); i++) {
struct region *rp;
struct soltab *stp;
@@ -1890,10 +1890,10 @@
/* remove the invisible light region pointers from the soltab
* structs.
*/
- if (R_DEBUG & RDEBUG_LIGHT) {
- bu_log("Removing invisible light region pointers from %d soltabs\n",
+ if (R_DEBUG & RDEBUG_LIGHT)
+ bu_log("Removing invisible light region pointers from %lu
soltabs\n",
BU_PTBL_LEN(&stps));
- }
+
for (j=0; j<BU_PTBL_LEN(&stps); j++) {
int k;
struct region *rp2;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits