Skip to content

Commit a0bf058

Browse files
peterepull[bot]
authored andcommitted
libpq: Remove unneeded cast and adjust format placeholder
1 parent c4497a6 commit a0bf058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-secure-common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ pq_verify_peer_name_matches_certificate_ip(PGconn *conn,
230230
* wrong given the subject matter.
231231
*/
232232
appendPQExpBuffer(&conn->errorMessage,
233-
libpq_gettext("certificate contains IP address with invalid length %lu\n"),
234-
(unsigned long) iplen);
233+
libpq_gettext("certificate contains IP address with invalid length %zu\n"),
234+
iplen);
235235
return -1;
236236
}
237237

0 commit comments

Comments
 (0)