dirmngr: Add missing cast for use of pid_t in printf.

--
This commit is contained in:
Werner Koch 2015-06-16 11:47:07 +02:00
parent 82c72e2db7
commit eb4d33cba9
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

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