diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/checkpoint.c')
-rw-r--r-- | gdb/testsuite/gdb.base/checkpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/checkpoint.c b/gdb/testsuite/gdb.base/checkpoint.c index 4a41268..2d44a74 100644 --- a/gdb/testsuite/gdb.base/checkpoint.c +++ b/gdb/testsuite/gdb.base/checkpoint.c @@ -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 */ |