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
This commit is contained in:
Jerry DeLisle 2008-09-02 01:14:04 +00:00
parent 4385cc71ef
commit 4e2eb53c13
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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>
PR libfortran/36895

View File

@ -199,13 +199,13 @@ show_locus (st_parameter_common *cmp)
if (filename != NULL)
{
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);
}
else
{
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;
}