dirmngr: Fix thread key type.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 13 Apr 2017 04:06:38 +0000 (13:06 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 13 Apr 2017 04:06:38 +0000 (13:06 +0900)
* dirmngr/dirmngr.c (my_tlskey_current_fd): Use npth_key_t.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/dirmngr.c

index 07b3b91..36716c6 100644 (file)
@@ -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. */