Revision: 42184
http://brlcad.svn.sourceforge.net/brlcad/?rev=42184&view=rev
Author: brlcad
Date: 2011-01-12 23:29:37 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
size_t upconvert argc
Modified Paths:
--------------
brlcad/trunk/src/mged/cmd.c
Modified: brlcad/trunk/src/mged/cmd.c
===================================================================
--- brlcad/trunk/src/mged/cmd.c 2011-01-12 23:28:59 UTC (rev 42183)
+++ brlcad/trunk/src/mged/cmd.c 2011-01-12 23:29:37 UTC (rev 42184)
@@ -1847,7 +1847,7 @@
bu_vls_init(&vls);
bu_vls_strcat(&vls, argv[0]);
- for (i=1; i<argc; i++) {
+ for (i=1; i<(size_t)argc; i++) {
if (*argv[i] == '-') {
bu_vls_putc(&vls, ' ');
bu_vls_strcat(&vls, argv[i]);
@@ -1859,7 +1859,7 @@
}
bu_avs_init(&avs, argc - last_opt, "cmd_lm avs");
- for (i=last_opt+1; i<argc; i++) {
+ for (i=last_opt+1; i<(size_t)argc; i++) {
bu_avs_add_nonunique(&avs, "MUVES_Component", argv[i]);
}
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