diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-03-05 19:45:36 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-03-05 19:45:36 +0000 |
commit | 5be2d7335f4cca00fd69953af4c2207d99f024e4 (patch) | |
tree | b32e63100ec6f0fb2d124d448cffb10088848cd9 /tests/tstrtoc.c | |
parent | fd1bcc36815b2838d4f5c57593e2a951baed675b (diff) | |
download | mpc-5be2d7335f4cca00fd69953af4c2207d99f024e4.tar.gz |
tests/strtoc.c: Fix wrong specifier for printing line_number.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@440 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tstrtoc.c')
-rw-r--r-- | tests/tstrtoc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tstrtoc.c b/tests/tstrtoc.c index 8f9c66d..b61a380 100644 --- a/tests/tstrtoc.c +++ b/tests/tstrtoc.c @@ -63,7 +63,7 @@ read_int (FILE *fp, int *nread, const char *name) if (nextchar == EOF) { printf ("Error: Unexpected EOF when reading mpfr precision " - "in file '%s' line %ld\n", + "in file '%s' line %lu\n", pathname, line_number); exit (1); } @@ -71,7 +71,7 @@ read_int (FILE *fp, int *nread, const char *name) n = fscanf (fp, "%i", nread); if (ferror (fp) || n == 0 || n == EOF) { - printf ("Error: Cannot read %s in file '%s' line %ld\n", + printf ("Error: Cannot read %s in file '%s' line %lu\n", name, pathname, line_number); exit (1); } @@ -134,7 +134,7 @@ read_string (FILE *fp, char **buffer_ptr, size_t buffer_length, const char *name return buffer_length; error: - printf ("Error: Unable to read %s in file '%s' line '%ld'\n", + printf ("Error: Unable to read %s in file '%s' line '%lu'\n", name, pathname, line_number); exit (1); } |