mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 12:08:59 +00:00
fix sign-compare warning
This commit is contained in:
parent
fd519eae68
commit
f60cd681f6
2
tests.c
2
tests.c
@ -1887,7 +1887,7 @@ START_TEST(test_output_script) {
|
||||
char address[60];
|
||||
while (*scr && *adr) {
|
||||
int r = script_output_to_address(fromhex(*scr), strlen(*scr)/2, address, 60);
|
||||
ck_assert_int_eq(r, strlen(*adr) + 1);
|
||||
ck_assert_int_eq(r, (int)(strlen(*adr) + 1));
|
||||
ck_assert_str_eq(address, *adr);
|
||||
scr += 2;
|
||||
adr += 2;
|
||||
|
Loading…
Reference in New Issue
Block a user