diff options
Diffstat (limited to 'src')
-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; |