mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01: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…
Reference in New Issue
Block a user