aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq_helper.c')
-rw-r--r--src/pq/pq_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pq/pq_helper.c b/src/pq/pq_helper.c
index 183bd43f2..5baab5a1c 100644
--- a/src/pq/pq_helper.c
+++ b/src/pq/pq_helper.c
@@ -138,7 +138,7 @@ TALER_PQ_RESULT_SPEC_AMOUNT_NBO (const char *name,
struct TALER_AmountNBO *amount)
{
struct TALER_PQ_ResultSpec res =
- {TALER_PQ_RF_AMOUNT_NBO, (void *) (&amount), sizeof (amount), (name), NULL };
+ {TALER_PQ_RF_AMOUNT_NBO, (void *) (&amount), sizeof (*amount), (name), NULL };
return res;
}