summaryrefslogtreecommitdiff
path: root/libgfortran/runtime
diff options
context:
space:
mode:
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);
}