commit ae2951782dd9097e413271bff60c3e2ea6ef1327 parent de095f33de1b110c0c8ae48f271e3b7d2589e063 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Wed, 28 Feb 2018 15:23:30 +0100 fix compiler warning. Diffstat:
| M | src/lib/testing_api_cmd_pay.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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