mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
Fix unit test crash on 32-bit.
This commit is contained in:
parent
6cedd49323
commit
ba88d78127
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ test_util_format_base16_decode(void *ignored)
|
|||
res = base16_decode(dst, 1, src, 10);
|
||||
tt_int_op(res, OP_EQ, -1);
|
||||
|
||||
res = base16_decode(dst, SIZE_T_CEILING+2, src, 10);
|
||||
res = base16_decode(dst, ((size_t)INT_MAX)+1, src, 10);
|
||||
tt_int_op(res, OP_EQ, -1);
|
||||
|
||||
res = base16_decode(dst, 1000, "", 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue