Revision: 77327
          http://sourceforge.net/p/brlcad/code/77327
Author:   brlcad
Date:     2020-10-05 13:28:51 +0000 (Mon, 05 Oct 2020)
Log Message:
-----------
midPoint is an int, initialized to -1, so the size_t needs to be cast to check 
that (otherwise, always conditional is always true)

Modified Paths:
--------------
    brlcad/trunk/src/libbg/spsr/MAT.inl

Modified: brlcad/trunk/src/libbg/spsr/MAT.inl
===================================================================
--- brlcad/trunk/src/libbg/spsr/MAT.inl 2020-10-02 18:06:48 UTC (rev 77326)
+++ brlcad/trunk/src/libbg/spsr/MAT.inl 2020-10-05 13:28:51 UTC (rev 77327)
@@ -142,7 +142,7 @@
        if(j+1>=ii)
                return;
        ii=midPoint[i*eCount+j];
-       if(ii>=0)
+       if((int)ii>=0)
        {
                tIndex.idx[0] = int( i );
                tIndex.idx[1] = int( j );

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to