From eff0b7766ac364283f2fff48b5747d37ea1cf4eb Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 23 Nov 2010 09:46:52 +0000 Subject: 2010-11-23 Marcus Brinkmann * gpgme.h.in (gpgme_conf_arg_new): Make VALUE arg const void *. * gpgconf.c (_gpgme_conf_arg_new): Likewise. (gpgme_conf_arg_new): Likewise. * engine-gpgconf.c (_gpgme_conf_arg_new): Likewise. (gpgconf_write): Remove debug hack. --- src/gpgme.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpgme.h.in') diff --git a/src/gpgme.h.in b/src/gpgme.h.in index f84cd465..a70ff2ad 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -1999,7 +1999,7 @@ typedef struct gpgme_conf_comp to the string. Else, it should point to an unsigned or signed integer respectively. */ gpgme_error_t gpgme_conf_arg_new (gpgme_conf_arg_t *arg_p, - gpgme_conf_type_t type, void *value); + gpgme_conf_type_t type, const void *value); /* This also releases all chained argument structures! */ void gpgme_conf_arg_release (gpgme_conf_arg_t arg, gpgme_conf_type_t type); -- cgit v1.2.3