Revision: 41493
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41493&view=rev
Author:   indianlarry
Date:     2010-12-01 14:27:45 +0000 (Wed, 01 Dec 2010)

Log Message:
-----------
minor fixes to get to compile, brlcad probably not finished with yet ;^)

Modified Paths:
--------------
    brlcad/trunk/src/util/bwrect.c
    brlcad/trunk/src/util/mac-pix.c
    brlcad/trunk/src/util/plgetframe.c

Modified: brlcad/trunk/src/util/bwrect.c
===================================================================
--- brlcad/trunk/src/util/bwrect.c      2010-12-01 07:19:54 UTC (rev 41492)
+++ brlcad/trunk/src/util/bwrect.c      2010-12-01 14:27:45 UTC (rev 41493)
@@ -68,7 +68,7 @@
 
     printf("Scan line length of input file ");
     ret = scanf("%d", &linelen);
-    if (ret != 1) {
+    if (ret != 1)
        perror("scanf");
 
     buf = (char *)bu_malloc(xnum, "buffer");

Modified: brlcad/trunk/src/util/mac-pix.c
===================================================================
--- brlcad/trunk/src/util/mac-pix.c     2010-12-01 07:19:54 UTC (rev 41492)
+++ brlcad/trunk/src/util/mac-pix.c     2010-12-01 14:27:45 UTC (rev 41493)
@@ -235,7 +235,7 @@
     ret = fread((char *)&hdr, sizeof(hdr), 1, infp);
     if (ret == 0) {
        perror("fread");
-       break;
+       bu_exit (1, NULL);
     }
 
     /* x and y are in terms of 1st quadrant coordinates */

Modified: brlcad/trunk/src/util/plgetframe.c
===================================================================
--- brlcad/trunk/src/util/plgetframe.c  2010-12-01 07:19:54 UTC (rev 41492)
+++ brlcad/trunk/src/util/plgetframe.c  2010-12-01 14:27:45 UTC (rev 41493)
@@ -119,6 +119,7 @@
     struct uplot *up;
     int desired_frame = 0;
     int current_frame = 0;
+    size_t ret;
 
     while (argc > 1) {
        if (strcmp(argv[1], "-v") == 0) {


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

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to