aboutsummaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-04-24 20:27:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2019-04-24 20:27:03 +0300
commit9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07 (patch)
tree80b6d7bcfe16890f66a049398b95428db48afe27 /msg.c
parentd69cb2dbf5d1a4bc524a4da3302f2239fc422165 (diff)
downloadegawk-9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07.tar.gz
egawk-9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07.tar.bz2
egawk-9dfcaf5c979776f1f2bd80f48c7e4ded57a37e07.zip
Fix a warning in msg.c.
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/msg.c b/msg.c
index ca988ad3..32f152ab 100644
--- a/msg.c
+++ b/msg.c
@@ -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