exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit abc63eda98bd64a29413b6daf60c0d2ea47a7132
parent 38fae8edf241b1a4ef7b647dbd2b87033cc8e324
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 24 Mar 2015 00:01:33 +0100

avoid cast

Diffstat:
Msrc/mint/plugin_mintdb_common.c | 2+-
Msrc/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 @@ -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 @@ -45,7 +45,7 @@ struct BankTransfer /** * Detailed wire information about the transaction. */ - const json_t *wire; + json_t *wire; };