Revision: 37536
          http://brlcad.svn.sourceforge.net/brlcad/?rev=37536&view=rev
Author:   bob1961
Date:     2010-02-03 23:00:17 +0000 (Wed, 03 Feb 2010)

Log Message:
-----------
Quell a few warnings when compiling for 64-bit Windows.

Modified Paths:
--------------
    brlcad/trunk/src/liboptical/material.c
    brlcad/trunk/src/liboptical/sh_stxt.c
    brlcad/trunk/src/liboptical/shade.c

Modified: brlcad/trunk/src/liboptical/material.c
===================================================================
--- brlcad/trunk/src/liboptical/material.c      2010-02-03 22:27:04 UTC (rev 
37535)
+++ brlcad/trunk/src/liboptical/material.c      2010-02-03 23:00:17 UTC (rev 
37536)
@@ -219,7 +219,7 @@
     int                ret;
     struct bu_vls      param;
     const char *material;
-    int                mlen;
+    size_t             mlen;
 
     RT_CK_REGION(rp);
     RT_CK_RTI(rtip);

Modified: brlcad/trunk/src/liboptical/sh_stxt.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_stxt.c       2010-02-03 22:27:04 UTC (rev 
37535)
+++ brlcad/trunk/src/liboptical/sh_stxt.c       2010-02-03 23:00:17 UTC (rev 
37536)
@@ -140,7 +140,7 @@
        linebuf = bu_malloc(stp->stx_fw*3, "texture file line");
 
        for ( i = 0; i < stp->stx_n; i++ )  {
-           if ((rd = fread(linebuf, 1, stp->stx_fw*3, fp)) != stp->stx_fw*3 ) {
+           if ((rd = (int)fread(linebuf, 1, stp->stx_fw*3, fp)) != 
stp->stx_fw*3 ) {
                bu_log("stxt_read: read error on %s\n", name);
                stp->stx_file[0] = '\0';
                (void)fclose(fp);

Modified: brlcad/trunk/src/liboptical/shade.c
===================================================================
--- brlcad/trunk/src/liboptical/shade.c 2010-02-03 22:27:04 UTC (rev 37535)
+++ brlcad/trunk/src/liboptical/shade.c 2010-02-03 23:00:17 UTC (rev 37536)
@@ -57,7 +57,7 @@
     int i;
 
     if (!swp)
-       return
+       return;
 
     bu_log("Shadework%s: 0x%x\n", str ? str : "", swp);
     bu_printb(" sw_inputs", swp->sw_inputs, MFI_FORMAT);


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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to