diff options
-rw-r--r-- | src/mint/plugin_mintdb_common.c | 2 | ||||
-rw-r--r-- | src/mint/taler_mintdb_plugin.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mint/plugin_mintdb_common.c b/src/mint/plugin_mintdb_common.c index 6e52a3bc4..34c95bae6 100644 --- a/src/mint/plugin_mintdb_common.c +++ b/src/mint/plugin_mintdb_common.c @@ -41,7 +41,7 @@ common_free_reserve_history (void *cls, case TALER_MINT_DB_RO_BANK_TO_MINT: bt = rh->details.bank; if (NULL != bt->wire) - json_decref ((json_t *) bt->wire); /* FIXME: avoid cast? */ + json_decref (bt->wire); GNUNET_free (bt); break; case TALER_MINT_DB_RO_WITHDRAW_COIN: diff --git a/src/mint/taler_mintdb_plugin.h b/src/mint/taler_mintdb_plugin.h index 225228812..b9c6bdfac 100644 --- a/src/mint/taler_mintdb_plugin.h +++ b/src/mint/taler_mintdb_plugin.h @@ -45,7 +45,7 @@ struct BankTransfer /** * Detailed wire information about the transaction. */ - const json_t *wire; + json_t *wire; }; |