diff --git a/source/Lib/EncoderLib/IntraSearch.cpp b/source/Lib/EncoderLib/IntraSearch.cpp index 1e13724ade493e60d19bfd828eaea02f3c262c73..5e0281f65e39806e842e19f6f9f6044e5ecf8504 100644 --- a/source/Lib/EncoderLib/IntraSearch.cpp +++ b/source/Lib/EncoderLib/IntraSearch.cpp @@ -1180,7 +1180,7 @@ void IntraSearch::estIntraPredLumaQT( CodingUnit &cu, Partitioner &partitioner, #if JVET_N0217_MATRIX_INTRAPRED #if JVET_N0413_RDPCM - for (int uiMode = -2 * testBDPCM; uiMode < uiRdModeList.size(); uiMode++) + for (int uiMode = -2 * int(testBDPCM); uiMode < (int)uiRdModeList.size(); uiMode++) { // set CU/PU to luma prediction mode ModeInfo uiOrgMode;