Fix a couple of bugs pointed out by clang compiler warnings.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 23 Aug 2017 13:38:11 +0000 (15:38 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 23 Aug 2017 13:38:11 +0000 (15:38 +0200)
commitbfb3a01a0c55aa327dcab061fa808672362cb09d
treea9002bde77976a51b5f40da447c23bdc44441a61
parent57c12593082e4ad302041269f1c35f2fe7d2fb1a
Fix a couple of bugs pointed out by clang compiler warnings.

* src/engine-gpgconf.c (gpgconf_config_dir_cb): Fix cast.
* src/key.c (_gpgme_key_add_sig): Fix pointer reference.

Signed-off-by: Marcus Brinkmann <mb@g10code.com>
src/engine-gpgconf.c
src/key.c