avoid cast
This commit is contained in:
parent
38fae8edf2
commit
abc63eda98
@ -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:
|
||||||
|
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user