Commit 4e2eb53c by Jerry DeLisle

error.c: Fix cast for printf.

2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* runtime/error.c: Fix cast for printf.

From-SVN: r139880
parent 4385cc71
2008-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* runtime/error.c: Fix cast for printf.
2008-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2008-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/36895 PR libfortran/36895
......
...@@ -199,13 +199,13 @@ show_locus (st_parameter_common *cmp) ...@@ -199,13 +199,13 @@ show_locus (st_parameter_common *cmp)
if (filename != NULL) if (filename != NULL)
{ {
st_printf ("At line %d of file %s (unit = %d, file = '%s')\n", st_printf ("At line %d of file %s (unit = %d, file = '%s')\n",
(int) cmp->line, cmp->filename, cmp->unit, filename); (int) cmp->line, cmp->filename, (int) cmp->unit, filename);
free_mem (filename); free_mem (filename);
} }
else else
{ {
st_printf ("At line %d of file %s (unit = %d)\n", st_printf ("At line %d of file %s (unit = %d)\n",
(int) cmp->line, cmp->filename, cmp->unit); (int) cmp->line, cmp->filename, (int) cmp->unit);
} }
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment