1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-01 01:04:50 +03:00

libpq: Remove unneeded cast and adjust format placeholder

This commit is contained in:
Peter Eisentraut 2022-11-13 21:09:05 +01:00
parent 5e1f3b9ebf
commit 062e133f6d

View File

@ -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;
}