diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-01-31 23:17:32 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-01-31 23:17:32 +0000 |
commit | b968f7a10ac8bed543e0f9e991b50239201f2de7 (patch) | |
tree | 3706198dbdf4f963f4d89c1594726b31bfae958e /print | |
parent | Update the ports WWW and MASTER_SITES (diff) |
Add casts to make this tolerable to an ISO-C++ compiler.
Submitted by: Alexander Langer <alex@big.endian.de>
Notes
Notes:
svn path=/head/; revision=25364
Diffstat (limited to 'print')
-rw-r--r-- | print/mp-letter/files/patch-ab | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/print/mp-letter/files/patch-ab b/print/mp-letter/files/patch-ab index fb6c181acda6..25b166ad26f5 100644 --- a/print/mp-letter/files/patch-ab +++ b/print/mp-letter/files/patch-ab @@ -1,5 +1,5 @@ --- input.cc.orig Sun Aug 1 13:28:22 1993 -+++ input.cc Sat Aug 3 17:04:16 1996 ++++ input.cc Sat Jan 29 17:59:31 2000 @@ -134,6 +134,8 @@ else if (!argcmp(argv[i], "-from", 4)) // Print originators name. @@ -9,3 +9,19 @@ else if (!argcmp(argv[i], "-help", 2)) // Print usage message. usage() ; +@@ -273,11 +275,11 @@ + case DO_TEXT : prt.message_for = "Listing for "; + digest = 0 ; + break ; +- case DO_MAIL : prt.message_for = digest ? "Mail digest for " +- : "Mail for " ; ++ case DO_MAIL : prt.message_for = digest ? (char *) "Mail digest for " ++ : (char *) "Mail for " ; + break ; +- case DO_NEWS : prt.message_for = digest ? "News digest for " +- : "News for " ; ++ case DO_NEWS : prt.message_for = digest ? (char *) "News digest for " ++ : (char *) "News for " ; + break ; + } + } |