--- old/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp 2018-09-30 07:53:02.579000000 +0530 +++ new/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp 2018-09-30 07:53:02.295000000 +0530 @@ -3886,12 +3886,12 @@ int sx = ScaleUpX(x) - p.x; int sy = ScaleUpY(y) - p.y; if (!m_bitsCandType) { - SetCandidateWindow(m_bitsCandType, sx, sy); + SetCandidateWindow(static_cast(m_bitsCandType), sx, sy); return; } for (int iCandType=0; iCandType<32; iCandType++, bits<<=1) { if ( m_bitsCandType & bits ) - SetCandidateWindow(iCandType, sx, sy); + SetCandidateWindow(static_cast(iCandType), sx, sy); } }