gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix format string


From: gnunet
Subject: [taler-merchant] branch master updated: fix format string
Date: Fri, 02 Apr 2021 11:18:46 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new b832adb7 fix format string
b832adb7 is described below

commit b832adb71a314b3eb283007c23a22eed141a9a61
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Apr 2 11:18:43 2021 +0200

    fix format string
---
 src/lib/merchant_api_get_orders.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/merchant_api_get_orders.c 
b/src/lib/merchant_api_get_orders.c
index e593b908..ddf9cdd2 100644
--- a/src/lib/merchant_api_get_orders.c
+++ b/src/lib/merchant_api_get_orders.c
@@ -294,8 +294,9 @@ TALER_MERCHANT_orders_get2 (
     GNUNET_snprintf (dstr,
                      sizeof (dstr),
                      "%llu",
-                     date.abs_value_us
-                     / GNUNET_TIME_UNIT_MILLISECONDS.rel_value_us);
+                     (unsigned long long) (date.abs_value_us
+                                           / GNUNET_TIME_UNIT_MILLISECONDS.
+                                           rel_value_us));
     if (delta > 0)
     {
       have_date = (0 != date.abs_value_us);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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