Revision: 55113
          http://brlcad.svn.sourceforge.net/brlcad/?rev=55113&view=rev
Author:   brlcad
Date:     2013-04-10 17:46:24 +0000 (Wed, 10 Apr 2013)
Log Message:
-----------
don't print hex, it should be a size_t

Modified Paths:
--------------
    brlcad/trunk/src/conv/stl/g-stl.c

Modified: brlcad/trunk/src/conv/stl/g-stl.c
===================================================================
--- brlcad/trunk/src/conv/stl/g-stl.c   2013-04-10 17:41:04 UTC (rev 55112)
+++ brlcad/trunk/src/conv/stl/g-stl.c   2013-04-10 17:46:24 UTC (rev 55113)
@@ -74,7 +74,7 @@
 static int regions_converted = 0;
 static int regions_written = 0;
 static int inches = 0;
-static unsigned int tot_polygons = 0;
+static size_t tot_polygons = 0;
 
 
 /* Byte swaps a four byte value */
@@ -500,7 +500,7 @@
                   regions_written, percent);
     }
 
-    bu_log("%x triangles written\n", tot_polygons);
+    bu_log("%zu triangles written\n", tot_polygons);
 
     if (output_file) {
        if (binary) {

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


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to