Revision: 51776
          http://brlcad.svn.sourceforge.net/brlcad/?rev=51776&view=rev
Author:   indianlarry
Date:     2012-08-07 13:19:20 +0000 (Tue, 07 Aug 2012)
Log Message:
-----------
Added explicit cast of double -> int within TriagleIntersection routine to 
allow strict compile. Please check  'phoenixyjll' to see if this was 
intentional.

Modified Paths:
--------------
    brlcad/trunk/src/libnurbs/opennurbs_ext.cpp

Modified: brlcad/trunk/src/libnurbs/opennurbs_ext.cpp
===================================================================
--- brlcad/trunk/src/libnurbs/opennurbs_ext.cpp 2012-08-07 13:04:50 UTC (rev 
51775)
+++ brlcad/trunk/src/libnurbs/opennurbs_ext.cpp 2012-08-07 13:19:20 UTC (rev 
51776)
@@ -2918,8 +2918,8 @@
        std::swap(t[1], t[0]);
     if (t[2] > t[3])
        std::swap(t[3], t[2]);
-    int left = std::max(t[0], t[2]);
-    int right = std::min(t[1], t[3]);
+    int left = (int)std::max(t[0], t[2]);
+    int right = (int)std::min(t[1], t[3]);
     if (left > right)
        return false;
     center = intersect.PointAt((left+right)/2);

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to