summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-02-28 15:23:30 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-28 15:23:30 +0100
commitae2951782dd9097e413271bff60c3e2ea6ef1327 (patch)
tree365073d3dffc495a4645ccb5967078c2274394ff
parentde095f33de1b110c0c8ae48f271e3b7d2589e063 (diff)
downloadmerchant-ae2951782dd9097e413271bff60c3e2ea6ef1327.tar.gz
merchant-ae2951782dd9097e413271bff60c3e2ea6ef1327.tar.bz2
merchant-ae2951782dd9097e413271bff60c3e2ea6ef1327.zip
fix compiler warning.
-rw-r--r--src/lib/testing_api_cmd_pay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/testing_api_cmd_pay.c b/src/lib/testing_api_cmd_pay.c
index c7f3e878..e628de90 100644
--- a/src/lib/testing_api_cmd_pay.c
+++ b/src/lib/testing_api_cmd_pay.c
@@ -486,10 +486,11 @@ build_coins (struct TALER_MERCHANT_PayCoin **pc,
icoin = &(*pc)[(*npc)-1];
+ /* FIXME: make the two following 'const'. */
struct TALER_CoinSpendPrivateKeyP *coin_priv;
- const struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
struct TALER_DenominationSignature *denom_sig;
- struct TALER_Amount *denom_value;
+ const struct TALER_Amount *denom_value;
+ const struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
GNUNET_assert
(GNUNET_OK == TALER_TESTING_get_trait_coin_priv