summaryrefslogtreecommitdiff
path: root/libgfortran/runtime
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-16 11:20:57 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-16 11:20:57 +0000
commit21ebda4d56b1d9cdd03c7bb12a992e99808960a6 (patch)
treee94b68627b7d5bfea3a7ab998e583028c889df1e /libgfortran/runtime
parentba15655984be5ea36ae29d252fa485c3b5a7670a (diff)
downloadgcc-21ebda4d56b1d9cdd03c7bb12a992e99808960a6.tar.gz
* trans-decl.c (gfc_get_symbol_decl): Fix formatting.
* io/open.c (new_unit): Format %d expects an int variable. * runtime/error.c (show_locus): Format %d expects an int variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r--libgfortran/runtime/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c
index 245e04e31c2..3f03f03f500 100644
--- a/libgfortran/runtime/error.c
+++ b/libgfortran/runtime/error.c
@@ -285,7 +285,7 @@ show_locus (st_parameter_common *cmp)
if (!options.locus || cmp == NULL || cmp->filename == NULL)
return;
- st_printf ("At line %d of file %s\n", cmp->line, cmp->filename);
+ st_printf ("At line %d of file %s\n", (int) cmp->line, cmp->filename);
}