mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
libpq: Remove unneeded cast and adjust format placeholder
This commit is contained in:
@ -230,8 +230,8 @@ pq_verify_peer_name_matches_certificate_ip(PGconn *conn,
|
||||
* wrong given the subject matter.
|
||||
*/
|
||||
appendPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("certificate contains IP address with invalid length %lu\n"),
|
||||
(unsigned long) iplen);
|
||||
libpq_gettext("certificate contains IP address with invalid length %zu\n"),
|
||||
iplen);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user