From: Peter Eisentraut Date: Thu, 25 Jul 2024 09:38:05 +0000 (+0200) Subject: Remove useless unconstify() call X-Git-Tag: REL_18_BETA1~2327 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=c5c71830267b42098add2862df4b15bc25ae0103;p=postgresql.git Remove useless unconstify() call This should have been part of 67c0ef9752 but was apparently forgotten there. --- 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); }