diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-09 13:26:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-09 13:26:34 +0200 |
commit | a5fedfeeb88a7a9b8f13aeb49eb43a68a4d7582c (patch) | |
tree | db5400b7d2009df84bc55c6f15288420ba7a8672 /src/json | |
parent | 783642272d83fae148edfd308c86b157c3e4a6d4 (diff) |
remove redundant check
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/json_helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 1d2a33156..aea19ac3d 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; |