mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Remove useless unconstify() call
This should have been part of 67c0ef9752 but was apparently forgotten there.
This commit is contained in:
parent
37c6923cf3
commit
c5c7183026
@ -154,7 +154,7 @@ WriteDataToArchiveGzip(ArchiveHandle *AH, CompressorState *cs,
|
|||||||
{
|
{
|
||||||
GzipCompressorState *gzipcs = (GzipCompressorState *) cs->private_data;
|
GzipCompressorState *gzipcs = (GzipCompressorState *) cs->private_data;
|
||||||
|
|
||||||
gzipcs->zp->next_in = (void *) unconstify(void *, data);
|
gzipcs->zp->next_in = data;
|
||||||
gzipcs->zp->avail_in = dLen;
|
gzipcs->zp->avail_in = dLen;
|
||||||
DeflateCompressorCommon(AH, cs, false);
|
DeflateCompressorCommon(AH, cs, false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user