Remove unnecessary (char *) casts [string]

Peter Eisentraut <peter@eisentraut.org>

Commit: 506183bce73a2b22308a54876f0a56a249bc26e9
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-02-12T07:49:18Z
Releases: 18.0
Remove unnecessary (char *) casts [string]

Remove (char *) casts around string functions where the arguments or
result already have the right type and the cast is useless (or worse,
potentially casts away a qualifier, but this doesn't appear to be the
case here).

Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org

Files

Documentation touched

Discussion