diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:17:05 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:17:33 -0600 |
commit | b4a081932338f65aa87aeba5008463feb0a78519 (patch) | |
tree | ce628075a2ae59d5362d2662465c918f57e81607 /libmisc/tests/test_rand.c | |
parent | 42729f477684b12735b572a4975d32fb1002a530 (diff) |
More GCC 15 fixes
Diffstat (limited to 'libmisc/tests/test_rand.c')
-rw-r--r-- | libmisc/tests/test_rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/tests/test_rand.c b/libmisc/tests/test_rand.c index 3596d94..ecb1c49 100644 --- a/libmisc/tests/test_rand.c +++ b/libmisc/tests/test_rand.c @@ -50,7 +50,7 @@ static void test_n(uint64_t cnt) { #endif } else { double sum = 0; - bool seen[MAX_SEE_ALL] = {0}; + bool seen[MAX_SEE_ALL] = {}; for (int i = 0; i < ROUNDS; i++) { uint64_t val = rand_uint63n(cnt); sum += val; |