Fix warning introduced in 2c9e3ec9
authorPyry Haulos <phaulos@google.com>
Fri, 17 Mar 2017 12:08:03 +0000 (12:08 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Fri, 17 Mar 2017 12:08:03 +0000 (12:08 +0000)
am: 521361d83d

Change-Id: Iaf6e63f119e32613ec46fa9135c7c3be42fd47b3

modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp

index fadeb4b..01cefc8 100644 (file)
@@ -2194,7 +2194,7 @@ deUint8 LineRenderCase::checkLineContinuity (const tcu::ConstPixelBufferAccess&
                        << "Missed pixels: " << missedPixels
                        << tcu::TestLog::EndMessage;
                // allow 10% missing pixels for warning
-               if (missedPixels <= deRoundFloatToInt32(totalPixels * 0.1f))
+               if (missedPixels <= deRoundFloatToInt32((float)totalPixels * 0.1f))
                        errorMask = SCANRESULT_LINE_CONT_WARN_BIT;
                else
                        errorMask =  SCANRESULT_LINE_CONT_ERR_BIT;