* gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
long type. (test_unlink): Correct printf string. * gdb.base/checkpoint.c (main): Correct fprintf string for variable i. * gdb.threads/attachstop-mt.c: Add #include <string.h>.
This commit is contained in:
parent
9f32dd5b5a
commit
209f53f524
4 changed files with 15 additions and 6 deletions
|
@ -40,9 +40,9 @@ main()
|
|||
for (i = 0; ; i++)
|
||||
{
|
||||
if (ftell (in) != i)
|
||||
fprintf (stderr, "Input error at %d\n", i);
|
||||
fprintf (stderr, "Input error at %ld\n", i);
|
||||
if (ftell (out) != i)
|
||||
fprintf (stderr, "Output error at %d\n", i);
|
||||
fprintf (stderr, "Output error at %ld\n", i);
|
||||
c = fgetc (in);
|
||||
if (c == '\n')
|
||||
lines++; /* breakpoint 1 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue