1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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

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;