1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

tests: fix signedness error

This commit is contained in:
Roman Zeyde 2015-07-29 21:49:00 +03:00
parent 1163992e5c
commit 0164137786

View File

@ -152,7 +152,7 @@ START_TEST(test_base58)
memcpy(rawn, fromhex(*raw), len); memcpy(rawn, fromhex(*raw), len);
r = base58_encode_check(rawn, len, strn, sizeof(strn)); r = base58_encode_check(rawn, len, strn, sizeof(strn));
ck_assert_int_eq(r, strlen(*str) + 1); ck_assert_int_eq((size_t)r, strlen(*str) + 1);
ck_assert_str_eq(strn, *str); ck_assert_str_eq(strn, *str);
r = base58_decode_check(strn, rawn, len); r = base58_decode_check(strn, rawn, len);