summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-24 00:01:33 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-24 00:01:33 +0100
commitabc63eda98bd64a29413b6daf60c0d2ea47a7132 (patch)
treecac3222155e7a70124bb5bb1af5241069ca82c9f
parent38fae8edf241b1a4ef7b647dbd2b87033cc8e324 (diff)
downloadexchange-abc63eda98bd64a29413b6daf60c0d2ea47a7132.tar.gz
exchange-abc63eda98bd64a29413b6daf60c0d2ea47a7132.tar.bz2
exchange-abc63eda98bd64a29413b6daf60c0d2ea47a7132.zip
avoid cast
-rw-r--r--src/mint/plugin_mintdb_common.c2
-rw-r--r--src/mint/taler_mintdb_plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mint/plugin_mintdb_common.c b/src/mint/plugin_mintdb_common.c
index 6e52a3bc..34c95bae 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 22522881..b9c6bdfa 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;
};