diff --git a/modules/core/src/convert.cpp b/modules/core/src/convert.cpp index 7a82611c54..b64b4e948d 100644 --- a/modules/core/src/convert.cpp +++ b/modules/core/src/convert.cpp @@ -1398,7 +1398,7 @@ cvtScaleHalf_( const short* src, size_t sstep, float* dst, size_t #define DEF_CVT_SCALE_FP16_FUNC(suffix, stype, dtype) \ static void cvtScaleHalf##suffix( const stype* src, size_t sstep, \ -dtype* dst, size_t dstep, Size size) \ +dtype* dst, size_t dstep, Size size, void*) \ { \ cvtScaleHalf_(src, sstep, dst, dstep, size); \ }