postgres.git / summary / log / commit / refs

commit    b5006abcdc18f19b6f2d5a2dfa99302666aa6d63
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Thu Jul 25 09:38:05 2024 +0000
First released in: 18.0, 17.0

    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); } [parent: 5f03da8518ce]