diff options
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r-- | src/json/json_helper.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 1db65ff66..fd7e99d93 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -419,7 +419,9 @@ parse_age_commitment (void *cls, unsigned int idx; size_t num; - if (NULL == root || ! json_is_array (root)) + (void) cls; + if ( (NULL == root) || + (! json_is_array (root))) { GNUNET_break_op (0); return GNUNET_SYSERR; @@ -645,7 +647,8 @@ parse_denom_pub_cipher (void *cls, struct GNUNET_JSON_Specification *spec) { struct TALER_DenominationPublicKey *denom_pub = spec->ptr; - enum TALER_DenominationCipher cipher = (enum TALER_DenominationCipher) cls; + enum TALER_DenominationCipher cipher = + (enum TALER_DenominationCipher) (long) cls; const char *emsg; unsigned int eline; |