fixed a C4244 error in type casting to Uint/Int in variant_types (when
casting a Double), was a numeric_cast<double>( ), which is wrong IMHO