diff --git a/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp b/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp index 3e622e6ee0fe40..be92579674b957 100644 --- a/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp +++ b/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp @@ -504,7 +504,7 @@ void MKernel::run(int M, // actual M } void MatrixDynQuantPerRow::quantize(size_t BM, ov::bfloat16* psrc, int src_stride) { - assert(BM <= M); + assert(static_cast(BM) <= M); parallel_nt_static(0, [&](const size_t ithr, const size_t nthr) { size_t start{0}, end{0}; splitter(BM, nthr, ithr, start, end); @@ -521,7 +521,7 @@ void MatrixDynQuantPerRow::quantize(size_t BM, ov::bfloat16* psrc, int src_strid } void MatrixDynQuantPerRow::quantize(size_t BM, ov::float16* psrc, int src_stride) { - assert(BM <= M); + assert(static_cast(BM) <= M); parallel_nt_static(0, [&](const size_t ithr, const size_t nthr) { size_t start{0}, end{0}; splitter(BM, nthr, ithr, start, end);