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

This commit is contained in:
Alexander Alekhin 2021-10-13 01:14:37 +00:00
parent 62252d157e
commit 982503e9a8

View File

@ -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