diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-28 15:23:30 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-28 15:23:30 +0100 |
commit | ae2951782dd9097e413271bff60c3e2ea6ef1327 (patch) | |
tree | 365073d3dffc495a4645ccb5967078c2274394ff | |
parent | de095f33de1b110c0c8ae48f271e3b7d2589e063 (diff) | |
download | merchant-ae2951782dd9097e413271bff60c3e2ea6ef1327.tar.gz merchant-ae2951782dd9097e413271bff60c3e2ea6ef1327.tar.bz2 merchant-ae2951782dd9097e413271bff60c3e2ea6ef1327.zip |
fix compiler warning.
-rw-r--r-- | src/lib/testing_api_cmd_pay.c | 5 |
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 |