summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-05-09 16:56:23 +0000
committerache <ache@FreeBSD.org>1995-05-09 16:56:23 +0000
commitcca9bf2418ec5c1b032680d4f6b3fb733f64eec9 (patch)
tree1933217b29eedba6d62bf9cc028ec14ec7790624
parent5171ec5bb1284a22c6ff0dde4de2d65fa8e6fccb (diff)
downloadFreeBSD-src-cca9bf2418ec5c1b032680d4f6b3fb733f64eec9.zip
FreeBSD-src-cca9bf2418ec5c1b032680d4f6b3fb733f64eec9.tar.gz
Fix line-count overflow, close PR 351
Submitted by: Edward Wang <edward@edcom.com>
-rw-r--r--usr.bin/mail/def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/def.h b/usr.bin/mail/def.h
index f843914..1faca76 100644
--- a/usr.bin/mail/def.h
+++ b/usr.bin/mail/def.h
@@ -68,10 +68,10 @@
struct message {
short m_flag; /* flags, see below */
- short m_block; /* block number of this message */
short m_offset; /* offset in block of message */
+ long m_block; /* block number of this message */
long m_size; /* Bytes in the message */
- short m_lines; /* Lines in the message */
+ long m_lines; /* Lines in the message */
};
/*
OpenPOWER on IntegriCloud