avoid cast

This commit is contained in:
Christian Grothoff 2015-03-24 00:01:33 +01:00
parent 38fae8edf2
commit abc63eda98
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ common_free_reserve_history (void *cls,
case TALER_MINT_DB_RO_BANK_TO_MINT: case TALER_MINT_DB_RO_BANK_TO_MINT:
bt = rh->details.bank; bt = rh->details.bank;
if (NULL != bt->wire) if (NULL != bt->wire)
json_decref ((json_t *) bt->wire); /* FIXME: avoid cast? */ json_decref (bt->wire);
GNUNET_free (bt); GNUNET_free (bt);
break; break;
case TALER_MINT_DB_RO_WITHDRAW_COIN: case TALER_MINT_DB_RO_WITHDRAW_COIN:

View File

@ -45,7 +45,7 @@ struct BankTransfer
/** /**
* Detailed wire information about the transaction. * Detailed wire information about the transaction.
*/ */
const json_t *wire; json_t *wire;
}; };