Revision: 54329 http://brlcad.svn.sourceforge.net/brlcad/?rev=54329&view=rev Author: carlmoore Date: 2013-02-06 22:31:51 +0000 (Wed, 06 Feb 2013) Log Message: ----------- change lu to d to fix format warnings
Modified Paths: -------------- brlcad/trunk/src/librt/primitives/bot/bot.c Modified: brlcad/trunk/src/librt/primitives/bot/bot.c =================================================================== --- brlcad/trunk/src/librt/primitives/bot/bot.c 2013-02-06 22:31:07 UTC (rev 54328) +++ brlcad/trunk/src/librt/primitives/bot/bot.c 2013-02-06 22:31:51 UTC (rev 54329) @@ -1880,7 +1880,7 @@ V3ARGS(&bot->vertices[i*3])); bu_vls_strcat(logstr, "} F {"); for (i = 0; i < bot->num_faces; i++) - bu_vls_printf(logstr, " { %lu %lu %lu }", + bu_vls_printf(logstr, " { %d %d %d }", V3ARGS(&bot->faces[i*3])); bu_vls_strcat(logstr, "}"); if (bot->mode == RT_BOT_PLATE || bot->mode == RT_BOT_PLATE_NOCOS) { @@ -1897,7 +1897,7 @@ } bu_vls_printf(logstr, "} fn {"); for (i = 0; i < bot->num_faces; i++) { - bu_vls_printf(logstr, " { %lu %lu %lu }", V3ARGS(&bot->face_normals[i*3])); + bu_vls_printf(logstr, " { %d %d %d }", V3ARGS(&bot->face_normals[i*3])); } bu_vls_printf(logstr, "}"); } @@ -1926,7 +1926,7 @@ } else if (!bu_strncmp(attr, "fn", 2)) { if (attr[2] == '\0') { for (i = 0; i < bot->num_faces; i++) { - bu_vls_printf(logstr, " { %lu %lu %lu }", V3ARGS(&bot->face_normals[i*3])); + bu_vls_printf(logstr, " { %d %d %d }", V3ARGS(&bot->face_normals[i*3])); } status = BRLCAD_OK; } else { @@ -1935,7 +1935,7 @@ bu_vls_printf(logstr, "Specified face index [%ld] is out of range", li); status = BRLCAD_ERROR; } else { - bu_vls_printf(logstr, "%lu %lu %lu", V3ARGS(&bot->face_normals[li*3])); + bu_vls_printf(logstr, "%d %d %d", V3ARGS(&bot->face_normals[li*3])); status = BRLCAD_OK; } } @@ -1994,7 +1994,7 @@ /* Retrieve one face, as vertex indices */ if (attr[1] == '\0') { for (i = 0; i < bot->num_faces; i++) - bu_vls_printf(logstr, " { %lu %lu %lu }", + bu_vls_printf(logstr, " { %d %d %d }", V3ARGS(&bot->faces[i*3])); status = BRLCAD_OK; } else { @@ -2003,7 +2003,7 @@ bu_vls_printf(logstr, "face number [%ld] out of range (0..%zu)", li, bot->num_faces-1); status = BRLCAD_ERROR; } else { - bu_vls_printf(logstr, "%lu %lu %lu", + bu_vls_printf(logstr, "%d %d %d", V3ARGS(&bot->faces[li*3])); status = BRLCAD_OK; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits