commit a5fedfeeb88a7a9b8f13aeb49eb43a68a4d7582c parent 783642272d83fae148edfd308c86b157c3e4a6d4 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 9 May 2017 13:26:34 +0200 remove redundant check Diffstat:
| M | 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 @@ -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;