Index: net/opal/files/patch-plugins_video_common_mpi.cxx =================================================================== --- net/opal/files/patch-plugins_video_common_mpi.cxx (nonexistent) +++ net/opal/files/patch-plugins_video_common_mpi.cxx (working copy) @@ -0,0 +1,13 @@ +--- plugins/video/common/mpi.cxx.orig 2013-02-20 02:18:05 UTC ++++ plugins/video/common/mpi.cxx +@@ -132,8 +132,8 @@ bool MPIList::getNegotiatedMPI( unsigned + // to the desired one or matches it + for (i=0; i < MPIs.size(); i++) { + // we square the value in order to get absolute distances +- distance = ( abs(MPIs[i].width - desiredWidth ) * +- abs(MPIs[i].height - desiredHeight) ); ++ distance = ( abs((int)(MPIs[i].width - desiredWidth )) * ++ abs((int)(MPIs[i].height - desiredHeight)) ); + + if (distance < minDistance) { + minDistance = distance; Property changes on: net/opal/files/patch-plugins_video_common_mpi.cxx ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property