From dde1ff88217e8dd3dc72ec733e8b53c02839df0e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2015 13:18:49 +0200 Subject: fix type --- src/util/amount.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/amount.c b/src/util/amount.c index 20b8618df..bc8ea24ba 100644 --- a/src/util/amount.c +++ b/src/util/amount.c @@ -305,7 +305,10 @@ TALER_amount_cmp_currency_nbo (const struct TALER_AmountNBO *a1, * * @param a1 first amount * @param a2 second amount - * @return result of the comparison + * @return result of the comparison, + * -1 if `a1 < a2` + * 1 if `a1 > a2` + * 0 if `a1 == a2`. */ int TALER_amount_cmp (const struct TALER_Amount *a1, -- cgit v1.2.3