From c5c71830267b42098add2862df4b15bc25ae0103 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 25 Jul 2024 11:38:05 +0200 Subject: [PATCH] Remove useless unconstify() call This should have been part of 67c0ef9752 but was apparently forgotten there. --- src/bin/pg_dump/compress_gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_dump/compress_gzip.c b/src/bin/pg_dump/compress_gzip.c index 26768b9f71a..9e1b7c157ea 100644 --- a/src/bin/pg_dump/compress_gzip.c +++ b/src/bin/pg_dump/compress_gzip.c @@ -154,7 +154,7 @@ WriteDataToArchiveGzip(ArchiveHandle *AH, CompressorState *cs, { GzipCompressorState *gzipcs = (GzipCompressorState *) cs->private_data; - gzipcs->zp->next_in = (void *) unconstify(void *, data); + gzipcs->zp->next_in = data; gzipcs->zp->avail_in = dLen; DeflateCompressorCommon(AH, cs, false); }