diff options
Diffstat (limited to 'contrib/nvi/common/msg.c')
-rw-r--r-- | contrib/nvi/common/msg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/nvi/common/msg.c b/contrib/nvi/common/msg.c index 2b18082..bdf5c02 100644 --- a/contrib/nvi/common/msg.c +++ b/contrib/nvi/common/msg.c @@ -472,7 +472,8 @@ mod_rpt(sp) *p++ = ' '; tlen += 2; } - len = snprintf(p, MAXNUM, "%lu ", sp->rptlines[cnt]); + len = snprintf(p, MAXNUM, "%lu ", + (u_long)sp->rptlines[cnt]); p += len; tlen += len; t = msg_cat(sp, |