gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: remove redundant ch


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: remove redundant check
Date: Tue, 09 May 2017 13:21:19 +0200

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 a5fedfe  remove redundant check
a5fedfe is described below

commit a5fedfeeb88a7a9b8f13aeb49eb43a68a4d7582c
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue May 9 13:26:34 2017 +0200

    remove redundant check
---
 src/json/json_helper.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 1d2a331..aea19ac 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -186,8 +186,7 @@ parse_amount_nbo (void *cls,
   }
   if ( (value < 0) ||
        (fraction < 0) ||
-       (value > UINT64_MAX) ||
-       (fraction > UINT32_MAX) )
+       (fraction > (json_int_t) UINT32_MAX) )
   {
     GNUNET_break_op (0);
     return GNUNET_SYSERR;

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



reply via email to

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