diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-24 00:01:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-24 00:01:33 +0100 |
commit | abc63eda98bd64a29413b6daf60c0d2ea47a7132 (patch) | |
tree | cac3222155e7a70124bb5bb1af5241069ca82c9f | |
parent | 38fae8edf241b1a4ef7b647dbd2b87033cc8e324 (diff) |
avoid cast
-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; }; |