Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf73bd5f

Browse files
committed
Add missing const qualifier
This is present in the declaration for ReadDataFromArchive, so we'd betterhave it in the definition too in order to avoid compilers from complainingabout the mismatch of function signatures.
1 parentcb2e7dd commitf73bd5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_dump/compress_io.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ AllocateCompressor(const pg_compress_specification compression_spec,
124124
* out with ahwrite().
125125
*/
126126
void
127-
ReadDataFromArchive(ArchiveHandle*AH,pg_compress_specificationcompression_spec,
127+
ReadDataFromArchive(ArchiveHandle*AH,
128+
constpg_compress_specificationcompression_spec,
128129
ReadFuncreadF)
129130
{
130131
if (compression_spec.algorithm==PG_COMPRESSION_NONE)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp