Skip to content

Commit c5c7183

Browse files
committed
Remove useless unconstify() call
This should have been part of 67c0ef9 but was apparently forgotten there.
1 parent 37c6923 commit c5c7183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/compress_gzip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ WriteDataToArchiveGzip(ArchiveHandle *AH, CompressorState *cs,
154154
{
155155
GzipCompressorState *gzipcs = (GzipCompressorState *) cs->private_data;
156156

157-
gzipcs->zp->next_in = (void *) unconstify(void *, data);
157+
gzipcs->zp->next_in = data;
158158
gzipcs->zp->avail_in = dLen;
159159
DeflateCompressorCommon(AH, cs, false);
160160
}

0 commit comments

Comments
 (0)