Revision: 42408
http://brlcad.svn.sourceforge.net/brlcad/?rev=42408&view=rev
Author: tbrowder2
Date: 2011-01-18 10:41:56 +0000 (Tue, 18 Jan 2011)
Log Message:
-----------
cast to int to quell compiler warnings about signed/unsigned comparison
Modified Paths:
--------------
brlcad/trunk/src/libged/ls.c
Modified: brlcad/trunk/src/libged/ls.c
===================================================================
--- brlcad/trunk/src/libged/ls.c 2011-01-18 10:39:48 UTC (rev 42407)
+++ brlcad/trunk/src/libged/ls.c 2011-01-18 10:41:56 UTC (rev 42408)
@@ -485,7 +485,7 @@
if (!dir_flags) dir_flags = -1 ^ DIR_HIDDEN;
bu_avs_init(&avs, argc, "wdb_ls_cmd avs");
- for (i = 0; i < argc; i += 2) {
+ for (i = 0; (int)i < argc; i += 2) {
if (or_flag) {
bu_avs_add_nonunique(&avs, (char *)argv[i], (char *)argv[i+1]);
} else {
@@ -511,7 +511,7 @@
/*
* Verify the names, and add pointers to them to the array.
*/
- for (i = 0; i < argc; i++) {
+ for (i = 0; (int)i < argc; i++) {
if ((dp = db_lookup(gedp->ged_wdbp->dbip, argv[i], LOOKUP_NOISY))
== DIR_NULL)
continue;
*dirp++ = dp;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits