summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/compress_gzip.c
diff options
context:
space:
mode:
authorPeter Eisentraut2024-07-25 09:38:05 +0000
committerPeter Eisentraut2024-07-25 09:38:05 +0000
commitc5c71830267b42098add2862df4b15bc25ae0103 (patch)
treea87ccf3440ef9be6ac198ac3aeb8cde0ca08dd64 /src/bin/pg_dump/compress_gzip.c
parent37c6923cf3d8ec1bd44924aab6f58f72754a0e7b (diff)
Remove useless unconstify() call
This should have been part of 67c0ef9752 but was apparently forgotten there.
Diffstat (limited to 'src/bin/pg_dump/compress_gzip.c')
-rw-r--r--src/bin/pg_dump/compress_gzip.c2
1 files changed, 1 insertions, 1 deletions
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);
}