Revision: 45873
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45873&view=rev
Author:   brlcad
Date:     2011-08-10 04:06:11 +0000 (Wed, 10 Aug 2011)

Log Message:
-----------
quell the non-%V warnings listed in dli's build log

Modified Paths:
--------------
    brlcad/trunk/src/libged/dbip.c
    brlcad/trunk/src/libged/grid.c
    brlcad/trunk/src/libged/nmg_collapse.c

Modified: brlcad/trunk/src/libged/dbip.c
===================================================================
--- brlcad/trunk/src/libged/dbip.c      2011-08-10 03:43:28 UTC (rev 45872)
+++ brlcad/trunk/src/libged/dbip.c      2011-08-10 04:06:11 UTC (rev 45873)
@@ -52,7 +52,7 @@
      */
 
     /* oh my gawd, no you didn't.. this code needs to die. */
-    bu_vls_printf(gedp->ged_result_str, "%p", gedp->ged_wdbp->dbip);
+    bu_vls_printf(gedp->ged_result_str, "%p", (void *)gedp->ged_wdbp->dbip);
 
     return GED_OK;
 }

Modified: brlcad/trunk/src/libged/grid.c
===================================================================
--- brlcad/trunk/src/libged/grid.c      2011-08-10 03:43:28 UTC (rev 45872)
+++ brlcad/trunk/src/libged/grid.c      2011-08-10 04:06:11 UTC (rev 45873)
@@ -336,7 +336,7 @@
        return GED_HELP;
     }
 
-    bu_vls_printf(gedp->ged_result_str, "%s: unrecognized command '%s'\n", 
command);
+    bu_vls_printf(gedp->ged_result_str, "%s: unrecognized command '%s'\n", 
argv[0], command);
     grid_usage(gedp, argv[0]);
 
     return GED_ERROR;

Modified: brlcad/trunk/src/libged/nmg_collapse.c
===================================================================
--- brlcad/trunk/src/libged/nmg_collapse.c      2011-08-10 03:43:28 UTC (rev 
45872)
+++ brlcad/trunk/src/libged/nmg_collapse.c      2011-08-10 04:06:11 UTC (rev 
45873)
@@ -43,7 +43,7 @@
     struct directory *dp;
     struct bu_ptbl faces;
     struct face *fp;
-    long count;
+    size_t count;
     fastf_t tol_coll;
     fastf_t min_angle;
     static const char *usage = "nmg_prim new_prim max_err_dist [min_angle]";
@@ -131,7 +131,7 @@
     /* triangulate model */
     nmg_triangulate_model(m, &gedp->ged_wdbp->wdb_tol);
 
-    count = nmg_edge_collapse(m, &gedp->ged_wdbp->wdb_tol, tol_coll, 
min_angle);
+    count = (size_t)nmg_edge_collapse(m, &gedp->ged_wdbp->wdb_tol, tol_coll, 
min_angle);
 
     dp=db_diradd(gedp->ged_wdbp->dbip, new_name, RT_DIR_PHONY_ADDR, 0, 
RT_DIR_SOLID, (genptr_t)&intern.idb_type);
     if (dp == RT_DIR_NULL) {
@@ -148,7 +148,7 @@
 
     rt_db_free_internal(&intern);
 
-    bu_vls_printf(gedp->ged_result_str, "%d edges collapsed\n", count);
+    bu_vls_printf(gedp->ged_result_str, "%zu edges collapsed\n", count);
 
     return GED_OK;
 }


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

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to