Fix warning introduced in 2c9e3ec9 am: 521361d83d am: 5f34117776 am: eba2559865 am...
authorPyry Haulos <phaulos@google.com>
Fri, 17 Mar 2017 12:21:04 +0000 (12:21 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Fri, 17 Mar 2017 12:21:04 +0000 (12:21 +0000)
am: 91a3078a37

Change-Id: Ifcb62bf0bad43f5bde5e1a693f886292a7ac2d42

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;