From f916ab753b7d17210cd455666870038949f72851 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 12 Feb 2014 20:36:08 +0100 Subject: [PATCH] Fix type inconsistency between gpgme.h and gpgme.c. * src/gpgme.c (gpgme_set_pinentry_mode): Fix type of MODE. -- GnuPG-bug-id: 1617 --- src/gpgme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpgme.c b/src/gpgme.c index 3d00018f..9c297d8e 100644 --- a/src/gpgme.c +++ b/src/gpgme.c @@ -527,7 +527,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);