msvc warning fixes (3)

PiperOrigin-RevId: 350380136
diff --git a/hwy/tests/arithmetic_test.cc b/hwy/tests/arithmetic_test.cc
index dc10ec3..b38e6f9 100644
--- a/hwy/tests/arithmetic_test.cc
+++ b/hwy/tests/arithmetic_test.cc
@@ -954,7 +954,7 @@
     const size_t N = Lanes(d);
     auto in_bytes = AllocateAligned<uint8_t>(N * sizeof(uint64_t));
     auto sums = AllocateAligned<T>(N);
-    std::fill(sums.get(), sums.get() + N, 0);
+    std::fill(sums.get(), sums.get() + N, T(0));
     for (size_t i = 0; i < N * sizeof(uint64_t); ++i) {
       const size_t group = i / sizeof(uint64_t);
       in_bytes[i] = static_cast<uint8_t>(2 * i + 1);
diff --git a/hwy/tests/compare_test.cc b/hwy/tests/compare_test.cc
index 1cab931..8f8a95b 100644
--- a/hwy/tests/compare_test.cc
+++ b/hwy/tests/compare_test.cc
@@ -37,7 +37,7 @@
     const size_t N = Lanes(d);
     auto all_false = AllocateAligned<T>(N);
     auto all_true = AllocateAligned<T>(N);
-    std::fill(all_false.get(), all_false.get() + N, 0);
+    std::fill(all_false.get(), all_false.get() + N, T(0));
     memset(all_true.get(), 0xFF, N * sizeof(T));
 
     HWY_ASSERT_VEC_EQ(d, all_false.get(), VecFromMask(v2 == v3));
diff --git a/hwy/tests/swizzle_test.cc b/hwy/tests/swizzle_test.cc
index b685e1f..1cb483f 100644
--- a/hwy/tests/swizzle_test.cc
+++ b/hwy/tests/swizzle_test.cc
@@ -33,7 +33,7 @@
 
     const size_t N = Lanes(d);
     auto lanes = AllocateAligned<T>(N);
-    std::fill(lanes.get(), lanes.get() + N, 0);
+    std::fill(lanes.get(), lanes.get() + N, T(0));
     const auto v = Iota(d, 1);
     Store(LowerHalf(v), d2, lanes.get());
     size_t i = 0;
@@ -54,7 +54,7 @@
 
     const size_t N = Lanes(d);
     auto lanes = AllocateAligned<T>(N);
-    std::fill(lanes.get(), lanes.get() + N, 0);
+    std::fill(lanes.get(), lanes.get() + N, T(0));
     const auto v = Iota(d, 1);
     const auto lo = LowerHalf(LowerHalf(v));
     Store(lo, d4, lanes.get());
@@ -85,7 +85,7 @@
     const auto v = Iota(d, 1);
     const size_t N = Lanes(d);
     auto lanes = AllocateAligned<T>(N);
-    std::fill(lanes.get(), lanes.get() + N, 0);
+    std::fill(lanes.get(), lanes.get() + N, T(0));
 
     Store(UpperHalf(v), d2, lanes.get());
     size_t i = 0;