Content-Length: 259658 | pFad | http://github.com/postgrespro/postgres/commit/c5c71830267b42098add2862df4b15bc25ae0103

B9 Remove useless unconstify() call · postgrespro/postgres@c5c7183 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c5c71830267b42098add2862df4b15bc25ae0103

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy