aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-05 13:18:49 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-05 13:18:49 +0200
commitdde1ff88217e8dd3dc72ec733e8b53c02839df0e (patch)
tree04b86de4d9235bb1fcf85a89df297c103fb9f5cf /src/util
parent7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58 (diff)
fix type
Diffstat (limited to 'src/util')
-rw-r--r--src/util/amount.c5
1 files changed, 4 insertions, 1 deletions
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,