Skip to content

Commit b024b85

Browse files
enh-googlelandley
authored andcommitted
readelf: fix 32-bit build on Android.
1 parent 2217272 commit b024b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toys/other/readelf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static long long elf_get(char **p, int len)
5757
long long result;
5858

5959
if (*p+len-TT.elf>TT.size)
60-
perror_exit("Access off end: %ld[%d] of %lld\n", *p-TT.elf, len, TT.size);
60+
perror_exit("Access off end: %td[%d] of %lld\n", *p-TT.elf, len, TT.size);
6161

6262
result = ((TT.endian == 2) ? peek_be : peek_le)(*p, len);
6363
*p += len;

0 commit comments

Comments
 (0)