COMP: Fix problem with narrowing in c++11
authorHans Johnson <hans-johnson@uiowa.edu>
Thu, 5 Jun 2014 15:14:56 +0000 (10:14 -0500)
committerHans Johnson <hans-johnson@uiowa.edu>
Tue, 17 Jun 2014 20:49:06 +0000 (15:49 -0500)
commit4c7ed03b5f789c6f898223e595799d413c10f583
tree2463b98fa9cd2066cc4fef16773ab3870aa14e96
parentce5bae1c676b7adc65971f8e26b809b81a26e99e
COMP: Fix problem with narrowing in c++11

modules/core/src/arithm.cpp:345:51:
error: constant expression evaluates to 4294967295 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
static int CV_DECL_ALIGNED(16) v64f_absmask[] = { 0xffffffff, 0x7fffffff, 0xffffffff, 0x7fffffff };
                                                  ^~~~~~~~~~

Converted to unsigned int.  This variable is only used to initialize a bit pattern anywhy for a 128bit type.
modules/core/src/arithm.cpp
modules/core/src/ocl.cpp