Remove unnecessary cast
Probably copied from nearby calls where it is necessary. But this one also casts away constness, so it was doubly annoying.
This commit is contained in:
parent
bb2ae6fa47
commit
574925bfd0
@ -135,7 +135,7 @@ AddFileToBackupManifest(backup_manifest_info *manifest, const char *spcoid,
|
||||
{
|
||||
appendStringInfoString(&buf, "{ \"Encoded-Path\": \"");
|
||||
enlargeStringInfo(&buf, 2 * pathlen);
|
||||
buf.len += hex_encode((char *) pathname, pathlen,
|
||||
buf.len += hex_encode(pathname, pathlen,
|
||||
&buf.data[buf.len]);
|
||||
appendStringInfoString(&buf, "\", ");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user