Skip to content

Commit 574925b

Browse files
committed
Remove unnecessary cast
Probably copied from nearby calls where it is necessary. But this one also casts away constness, so it was doubly annoying.
1 parent bb2ae6f commit 574925b

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy