1
0
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:
Pavol Rusnak 2016-05-16 16:42:34 +02:00
parent fd519eae68
commit f60cd681f6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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;