[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: use modern spelling for LLONG_{MAX, MIN}
From: |
gnunet |
Subject: |
[gnunet] branch master updated: use modern spelling for LLONG_{MAX, MIN} |
Date: |
Thu, 29 Jul 2021 20:32:54 +0200 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 72250781a use modern spelling for LLONG_{MAX,MIN}
72250781a is described below
commit 72250781a26933bb676fa4ef377554f5fdaef21e
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Thu Jul 29 14:26:22 2021 -0400
use modern spelling for LLONG_{MAX,MIN}
This fixes a FTBFS under Alpine Linux 3.13 (GNU GCC 10.2.1).
See also: <https://www.sourceware.org/bugzilla/show_bug.cgi?id=5461>.
---
src/json/json_pack.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/json/json_pack.c b/src/json/json_pack.c
index 20db47cd4..d86baff41 100644
--- a/src/json/json_pack.c
+++ b/src/json/json_pack.c
@@ -109,7 +109,7 @@ GNUNET_JSON_pack_uint64 (const char *name,
};
#if JSON_INTEGER_IS_LONG_LONG
- GNUNET_assert (num <= LONG_LONG_MAX);
+ GNUNET_assert (num <= LLONG_MAX);
#else
GNUNET_assert (num <= LONG_MAX);
#endif
@@ -127,8 +127,8 @@ GNUNET_JSON_pack_int64 (const char *name,
};
#if JSON_INTEGER_IS_LONG_LONG
- GNUNET_assert (num <= LONG_LONG_MAX);
- GNUNET_assert (num >= LONG_LONG_MIN);
+ GNUNET_assert (num <= LLONG_MAX);
+ GNUNET_assert (num >= LLONG_MIN);
#else
GNUNET_assert (num <= LONG_MAX);
GNUNET_assert (num >= LONG_MIN);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: use modern spelling for LLONG_{MAX, MIN},
gnunet <=