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

Commit574925b

Browse files
committed
Remove unnecessary cast
Probably copied from nearby calls where it is necessary. But this onealso casts away constness, so it was doubly annoying.
1 parentbb2ae6f commit574925b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/backup_manifest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ AddFileToBackupManifest(backup_manifest_info *manifest, const char *spcoid,
135135
{
136136
appendStringInfoString(&buf,"{ \"Encoded-Path\": \"");
137137
enlargeStringInfo(&buf,2*pathlen);
138-
buf.len+=hex_encode((char*)pathname,pathlen,
138+
buf.len+=hex_encode(pathname,pathlen,
139139
&buf.data[buf.len]);
140140
appendStringInfoString(&buf,"\", ");
141141
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp