summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_orders.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-02 11:18:43 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-02 11:18:43 +0200
commitb832adb71a314b3eb283007c23a22eed141a9a61 (patch)
treedf33108c8d51524bc5894309a554bd36f6fd8f16 /src/lib/merchant_api_get_orders.c
parentfb6d4b23a34436310b9646f14913ba1c4cd4b071 (diff)
downloadmerchant-b832adb71a314b3eb283007c23a22eed141a9a61.tar.gz
merchant-b832adb71a314b3eb283007c23a22eed141a9a61.tar.bz2
merchant-b832adb71a314b3eb283007c23a22eed141a9a61.zip
fix format string
Diffstat (limited to 'src/lib/merchant_api_get_orders.c')
-rw-r--r--src/lib/merchant_api_get_orders.c5
1 files 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);