aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-04-13 04:06:38 +0000
committerNIIBE Yutaka <[email protected]>2017-04-13 04:06:38 +0000
commit37018adce6ea4920b34d59afcfe4f55f716b3086 (patch)
tree27b98efef0944ee31b0a490571faf19035eaa885
parentcommon, g10: Fix enumeration types. (diff)
downloadgnupg-37018adce6ea4920b34d59afcfe4f55f716b3086.tar.gz
gnupg-37018adce6ea4920b34d59afcfe4f55f716b3086.zip
dirmngr: Fix thread key type.
* dirmngr/dirmngr.c (my_tlskey_current_fd): Use npth_key_t. Signed-off-by: NIIBE Yutaka <[email protected]>
-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. */