From eb4d33cba9cd0f6929cbb556b7fa2deca0a3a87e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 16 Jun 2015 11:47:07 +0200 Subject: dirmngr: Add missing cast for use of pid_t in printf. -- --- dirmngr/ldap-wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c index 558846830..30bbda3ab 100644 --- a/dirmngr/ldap-wrapper.c +++ b/dirmngr/ldap-wrapper.c @@ -234,7 +234,7 @@ read_log_data (struct wrapper_context_s *ctx) { if (n < 0) log_error (_("error reading log from ldap wrapper %d: %s\n"), - ctx->pid, strerror (errno)); + (int)ctx->pid, strerror (errno)); print_log_line (ctx, NULL); SAFE_CLOSE (ctx->log_fd); return 1; -- cgit v1.2.3