aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-02-12 19:36:08 +0000
committerWerner Koch <[email protected]>2014-07-30 09:11:55 +0000
commit206bfb5a7953dcdebfdbc6fe6136240964659561 (patch)
treefa9746718a8e4b617e30beaf74303bad5d13e5e5
parentFix possible segv in the gpgme_op_card_edit. (diff)
downloadgpgme-206bfb5a7953dcdebfdbc6fe6136240964659561.tar.gz
gpgme-206bfb5a7953dcdebfdbc6fe6136240964659561.zip
Fix type inconsistency between gpgme.h and gpgme.c.
* src/gpgme.c (gpgme_set_pinentry_mode): Fix type of MODE. -- GnuPG-bug-id: 1617
-rw-r--r--src/gpgme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgme.c b/src/gpgme.c
index a8de64b4..bbfcddcb 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -514,7 +514,7 @@ gpgme_get_keylist_mode (gpgme_ctx_t ctx)
/* Set the pinentry mode for CTX to MODE. */
gpgme_error_t
-gpgme_set_pinentry_mode (gpgme_ctx_t ctx, gpgme_keylist_mode_t mode)
+gpgme_set_pinentry_mode (gpgme_ctx_t ctx, gpgme_pinentry_mode_t mode)
{
TRACE1 (DEBUG_CTX, "gpgme_set_pinentry_mode", ctx, "pinentry_mode=%u",
(unsigned int)mode);