Fix type inconsistency between gpgme.h and gpgme.c.

* src/gpgme.c (gpgme_set_pinentry_mode): Fix type of MODE.
--

GnuPG-bug-id: 1617
This commit is contained in:
Werner Koch 2014-02-12 20:36:08 +01:00
parent 1a504aab38
commit f916ab753b

View File

@ -527,7 +527,7 @@ gpgme_get_keylist_mode (gpgme_ctx_t ctx)
/* Set the pinentry mode for CTX to MODE. */ /* Set the pinentry mode for CTX to MODE. */
gpgme_error_t 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", TRACE1 (DEBUG_CTX, "gpgme_set_pinentry_mode", ctx, "pinentry_mode=%u",
(unsigned int)mode); (unsigned int)mode);