Revision: 56346
          http://sourceforge.net/p/brlcad/code/56346
Author:   brlcad
Date:     2013-07-30 17:37:57 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
classic bug, char is unsigned on some platforms so this can result in an 
infinite loop.  need an int.

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/cchannel.c

Modified: brlcad/trunk/src/proc-db/cchannel.c
===================================================================
--- brlcad/trunk/src/proc-db/cchannel.c 2013-07-30 17:24:19 UTC (rev 56345)
+++ brlcad/trunk/src/proc-db/cchannel.c 2013-07-30 17:37:57 UTC (rev 56346)
@@ -66,7 +66,7 @@
 static void
 parseArgs(int argc, char **argv, const char* options, struct channel 
*parameters)
 {
-    char c;
+    int c;
     while ((c=bu_getopt(argc, argv, options)) != -1) {
        switch (c) {
            case('l'):

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


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to