projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c6923
)
Remove useless unconstify() call
author
Peter Eisentraut
<
[email protected]
>
Thu, 25 Jul 2024 09:38:05 +0000
(11:38 +0200)
committer
Peter Eisentraut
<
[email protected]
>
Thu, 25 Jul 2024 09:38:05 +0000
(11:38 +0200)
This should have been part of
67c0ef9752
but was apparently forgotten
there.
src/bin/pg_dump/compress_gzip.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/compress_gzip.c
b/src/bin/pg_dump/compress_gzip.c
index 26768b9f71a26bf6bdc6af7d765673f8ef2ce8e7..9e1b7c157ea767f9867781d149a6e573d2bdc716 100644
(file)
--- 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);
}