diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-14 14:12:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-14 14:12:17 +0200 |
commit | 22c825f0fe99129c7d94792c4d450cd22ef5c414 (patch) | |
tree | 5aa29ae52c986d57f6c9755d3ea4ed6b57677e48 | |
parent | 057ef6da30f0397a066d36285ff2ff3b3f0ccbd5 (diff) |
fix ftbfs of test
-rw-r--r-- | src/pq/test_pq.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c index 2d56e11e7..260323ef2 100644 --- a/src/pq/test_pq.c +++ b/src/pq/test_pq.c @@ -114,21 +114,21 @@ run_queries (PGconn *conn) TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (abs_time), TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (forever), TALER_PQ_QUERY_PARAM_PTR (&hc), - TALER_PQ_QUERY_PARAM_AMOUNT (hamount), - TALER_PQ_QUERY_PARAM_AMOUNT_NBO (namount), + TALER_PQ_QUERY_PARAM_AMOUNT (&hamount), + TALER_PQ_QUERY_PARAM_AMOUNT_NBO (&namount), TALER_PQ_QUERY_PARAM_END }; struct TALER_PQ_QueryParam params_select[] = { TALER_PQ_QUERY_PARAM_END }; struct TALER_PQ_ResultSpec results_select[] = { - TALER_PQ_RESULT_SPEC_RSA_PUBLIC_KEY ("pub", pub2), - TALER_PQ_RESULT_SPEC_RSA_SIGNATURE ("sig", sig2), - TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("abs_time", abs_time2), - TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("forever", forever2), + TALER_PQ_RESULT_SPEC_RSA_PUBLIC_KEY ("pub", &pub2), + TALER_PQ_RESULT_SPEC_RSA_SIGNATURE ("sig", &sig2), + TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("abs_time", &abs_time2), + TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("forever", &forever2), TALER_PQ_RESULT_SPEC ("hash", &hc2), - TALER_PQ_RESULT_SPEC_AMOUNT ("hamount", hamount2), - TALER_PQ_RESULT_SPEC_AMOUNT_NBO ("namount", namount2), + TALER_PQ_RESULT_SPEC_AMOUNT ("hamount", &hamount2), + TALER_PQ_RESULT_SPEC_AMOUNT_NBO ("namount", &namount2), TALER_PQ_RESULT_SPEC_END }; PGresult *result; |