Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 062e133

Browse files
committed
libpq: Remove unneeded cast and adjust format placeholder
1 parent 5e1f3b9 commit 062e133

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)