From 6b9ccc4ca0a5cb35c6cc76a8d5247ac914561d64 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 May 2015 09:53:31 +0200 Subject: fixing misc. minor bugs, towards getting testcases to work --- src/pq/pq_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pq/pq_helper.c') diff --git a/src/pq/pq_helper.c b/src/pq/pq_helper.c index b172a94bf..183bd43f2 100644 --- a/src/pq/pq_helper.c +++ b/src/pq/pq_helper.c @@ -155,7 +155,7 @@ TALER_PQ_RESULT_SPEC_AMOUNT (const char *name, struct TALER_Amount *amount) { struct TALER_PQ_ResultSpec res = - {TALER_PQ_RF_AMOUNT, (void *) (&amount), sizeof (amount), (name), NULL }; + {TALER_PQ_RF_AMOUNT, (void *) (&amount), sizeof (*amount), (name), NULL }; return res; } -- cgit v1.2.3