core: ensure 'int' result from CV_POPCNT_U64(x)

pull/20867/head
Alexander Alekhin 3 years ago
parent 62252d157e
commit 982503e9a8
  1. 2
      modules/core/include/opencv2/core/cv_cpu_dispatch.h

@ -55,7 +55,7 @@
# ifdef _MSC_VER
# include <nmmintrin.h>
# if defined(_M_X64)
# define CV_POPCNT_U64 _mm_popcnt_u64
# define CV_POPCNT_U64 (int)_mm_popcnt_u64
# endif
# define CV_POPCNT_U32 _mm_popcnt_u32
# else

Loading…
Cancel
Save