mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
libpq: Remove unneeded cast and adjust format placeholder
This commit is contained in:
parent
5e1f3b9ebf
commit
062e133f6d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user