gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix FTBFS


From: gnunet
Subject: [taler-exchange] branch master updated: fix FTBFS
Date: Sat, 18 Jan 2020 14:01:58 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 96ac20c3 fix FTBFS
96ac20c3 is described below

commit 96ac20c3bbcf5536f46720212eb1f1b7775dacbf
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Jan 18 14:01:56 2020 +0100

    fix FTBFS
---
 src/util/amount.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/amount.c b/src/util/amount.c
index c432caee..55ddc13a 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -549,8 +549,9 @@ amount_to_tail (const struct TALER_Amount *amount,
                 char tail[TALER_AMOUNT_FRAC_LEN + 1])
 {
   uint32_t n = amount->fraction;
+  unsigned int i;
 
-  for (unsigned int i = 0; (i < TALER_AMOUNT_FRAC_LEN) && (0 != n); i++)
+  for (i = 0; (i < TALER_AMOUNT_FRAC_LEN) && (0 != n); i++)
   {
     tail[i] = '0' + (n / (TALER_AMOUNT_FRAC_BASE / 10));
     n = (n * 10) % (TALER_AMOUNT_FRAC_BASE);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]