From 632016f418c4e9ba598bb4812eee818d150460b4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 18 Aug 2026 10:52:24 +0200 Subject: [PATCH 09/11] Fix some -Wcast-qual warnings [test_custom_stats] This just removes an unnecessary cast. --- src/test/modules/test_custom_stats/test_custom_var_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/modules/test_custom_stats/test_custom_var_stats.c b/src/test/modules/test_custom_stats/test_custom_var_stats.c index a39ada0b67c..ec06d5e1fdb 100644 --- a/src/test/modules/test_custom_stats/test_custom_var_stats.c +++ b/src/test/modules/test_custom_stats/test_custom_var_stats.c @@ -237,7 +237,7 @@ test_custom_stats_var_to_serialized_data(const PgStat_HashKey *key, * be cross-checked with the key read from main stats file at loading * time. */ - if (!write_chunk_s(fd_description, (PgStat_HashKey *) key)) + if (!write_chunk_s(fd_description, key)) return false; fd_description_offset += sizeof(PgStat_HashKey); -- 2.55.0