From 73ca194313d50306682725d6e7883996ddfa384e Mon Sep 17 00:00:00 2001 From: Dmitry Kurtaev Date: Sat, 7 Apr 2018 09:44:43 +0300 Subject: [PATCH] Fix convertFp16 in JavaScript build --- modules/core/src/convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/convert.cpp b/modules/core/src/convert.cpp index 7a82611..b64b4e9 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); \ } -- 2.7.4