diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | msg.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2019-04-24 Arnold D. Robbins <arnold@skeeve.com> + + * msg.c (msg): Use %ld for the line number value. Thanks to + Michal Jaegermann for the report. + 2019-04-23 Arnold D. Robbins <arnold@skeeve.com> * config.sub: Updated from GNULIB. @@ -74,7 +74,7 @@ err(bool isfatal, const char *s, const char *emsg, va_list argp) else (void) fprintf(stderr, _("cmd. line:")); - (void) fprintf(stderr, "%d: ", sourceline + lineno_val); + (void) fprintf(stderr, "%ld: ", sourceline + lineno_val); } #ifdef HAVE_MPFR |