summaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-04-13 06:06:38 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2017-04-13 06:06:38 +0200
commit37018adce6ea4920b34d59afcfe4f55f716b3086 (patch)
tree27b98efef0944ee31b0a490571faf19035eaa885 /dirmngr/dirmngr.c
parentcommon, g10: Fix enumeration types. (diff)
downloadgnupg2-37018adce6ea4920b34d59afcfe4f55f716b3086.tar.xz
gnupg2-37018adce6ea4920b34d59afcfe4f55f716b3086.zip
dirmngr: Fix thread key type.
* dirmngr/dirmngr.c (my_tlskey_current_fd): Use npth_key_t. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to '')
-rw-r--r--dirmngr/dirmngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index 07b3b913f..36716c602 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -350,7 +350,7 @@ union int_and_ptr_u
local storage. We use this in conjunction with the
log_set_pid_suffix_cb feature. */
#ifndef HAVE_W32_SYSTEM
-static int my_tlskey_current_fd;
+static npth_key_t my_tlskey_current_fd;
#endif
/* Prototypes. */