Fix warning introduced in 2c9e3ec9 am: d8b452a753 am: 03dde47b9d
authorPyry Haulos <phaulos@google.com>
Wed, 15 Mar 2017 20:58:31 +0000 (20:58 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Wed, 15 Mar 2017 20:58:31 +0000 (20:58 +0000)
am: 9333757172

Change-Id: I21fae7ac4017a87680f3b9788b7787eb7a7bfc0f

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;