diff options
author | ache <ache@FreeBSD.org> | 2001-12-19 21:50:22 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-12-19 21:50:22 +0000 |
commit | 8d59503ab28990d5f3e683cef1f40660c7b50508 (patch) | |
tree | a101958a87607acd1ecdfdaf29ad688ec4ed0209 /usr.bin/mail/send.c | |
parent | 551ea08f0f87088f86af940cfa8a858ab92dddf3 (diff) | |
download | FreeBSD-src-8d59503ab28990d5f3e683cef1f40660c7b50508.zip FreeBSD-src-8d59503ab28990d5f3e683cef1f40660c7b50508.tar.gz |
Add (unsigned char) cast to ctype macros
ftell->ftello, fseek->fseeko
File 'newsize' type int->off_t
Add visible (long) cast to fsize() when it called to small one message file and
result is assigned to long.
Diffstat (limited to 'usr.bin/mail/send.c')
-rw-r--r-- | usr.bin/mail/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/send.c b/usr.bin/mail/send.c index 58f029a..7351cc5 100644 --- a/usr.bin/mail/send.c +++ b/usr.bin/mail/send.c @@ -123,10 +123,10 @@ sendmessage(mp, obuf, doign, prefix) * Pick up the header field if we have one. */ for (cp = line; (c = *cp++) != '\0' && c != ':' && - !isspace(c);) + !isspace((unsigned char)c);) ; cp2 = --cp; - while (isspace(*cp++)) + while (isspace((unsigned char)*cp++)) ; if (cp[-1] != ':') { /* |