Revision: 41309
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41309&view=rev
Author:   bob1961
Date:     2010-11-09 21:45:19 +0000 (Tue, 09 Nov 2010)

Log Message:
-----------
Need to dereference numreg and numsol before incrementing.

Modified Paths:
--------------
    brlcad/trunk/src/libged/tables.c

Modified: brlcad/trunk/src/libged/tables.c
===================================================================
--- brlcad/trunk/src/libged/tables.c    2010-11-09 20:54:02 UTC (rev 41308)
+++ brlcad/trunk/src/libged/tables.c    2010-11-09 21:45:19 UTC (rev 41309)
@@ -102,7 +102,7 @@
            return idbuf2.i_index;
        }
     }
-    *numsol++;
+    (*numsol)++;
     idbuf1.i_index = *numsol;
 
     (void)lseek(idfd, (off_t)0L, 2);
@@ -162,7 +162,7 @@
     BU_ASSERT_SIZE_T(actual_count, ==, node_count);
 
     if (dp->d_flags & DIR_REGION) {
-       *numreg++;
+       (*numreg)++;
        (void)fprintf(tabptr, " %-4ld %4ld %4ld %4ld %4ld  ",
                      *numreg, comb->region_id, comb->aircode, comb->GIFTmater,
                      comb->los);


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

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to