forked from Imagelibrary/binutils-gdb
Error compiling libctf-regression test
Seen on 64-bit targets. ERROR: compilation of lookup program .../libctf-regression/gzrewrite.c failed * testsuite/libctf-regression/gzrewrite.c (main): Use %zu to print size_t values. * testsuite/libctf-regression/zrewrite.c (main): Likewise.
This commit is contained in:
@@ -88,7 +88,7 @@ main (int argc, char *argv[])
|
||||
|
||||
if (a_len != b_len || memcmp (a, b, a_len) != 0)
|
||||
{
|
||||
fprintf (stderr, "consecutive gzwrites are different: lengths %i and %i\n", a_len, b_len);
|
||||
fprintf (stderr, "consecutive gzwrites are different: lengths %zu and %zu\n", a_len, b_len);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user