summaryrefslogtreecommitdiff
path: root/lib/ZFmtNotice.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZFmtNotice.c')
-rw-r--r--lib/ZFmtNotice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZFmtNotice.c b/lib/ZFmtNotice.c
index c6292fe..0659b35 100644
--- a/lib/ZFmtNotice.c
+++ b/lib/ZFmtNotice.c
@@ -6,7 +6,7 @@
* $Source$
* $Author$
*
- * Copyright (c) 1987 by the Massachusetts Institute of Technology.
+ * Copyright (c) 1987,1988 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
* "mit-copyright.h".
*/
@@ -36,7 +36,7 @@ Code_t ZFormatNotice(notice, buffer, ret_len, cert_routine)
*ret_len = hdrlen+notice->z_message_len;
- if (!(*buffer = (char *)malloc((unsigned)*ret_len)))
+ if (!(*buffer = malloc((unsigned)*ret_len)))
return (ENOMEM);
bcopy(header, *buffer, hdrlen);