In usr.bin/mail/cmd1.c, use the correct printf length modifier for a
ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int. MFC after: 1 week
This commit is contained in:
parent
f8b4a766de
commit
3aeee4ad81
@ -210,7 +210,7 @@ printhead(int mesg)
|
||||
int
|
||||
pdot(void)
|
||||
{
|
||||
printf("%d\n", dot - &message[0] + 1);
|
||||
printf("%td\n", dot - &message[0] + 1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...\n\
|
||||
%*s [-sendmail-option ...]\n\
|
||||
%s [-dEHiInNv] [-F] -f [name]\n\
|
||||
%s [-dEHiInNv] [-F] [-u user]\n\
|
||||
%s [-d] -e [-f name]\n", __progname, strlen(__progname), "",
|
||||
%s [-d] -e [-f name]\n", __progname, (int)strlen(__progname), "",
|
||||
__progname, __progname, __progname);
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user