aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-07-25 11:38:05 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-07-25 11:39:14 +0200
commitb5006abcdc18f19b6f2d5a2dfa99302666aa6d63 (patch)
tree4143e905abfae1a741faa609ac0a775d97836ef1 /src
parent5f03da8518ce0df9da2079730b36957e159d3c1e (diff)
downloadpostgresql-b5006abcdc18f19b6f2d5a2dfa99302666aa6d63.tar.gz
postgresql-b5006abcdc18f19b6f2d5a2dfa99302666aa6d63.zip
Remove useless unconstify() call
This should have been part of 67c0ef9752 but was apparently forgotten there.
Diffstat (limited to 'src')
-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);
}