summaryrefslogtreecommitdiff
path: root/lib/ZIfNotice.c
diff options
context:
space:
mode:
authorGravatar Lucien Van Elsen <lwvanels@mit.edu>1991-12-04 08:47:30 +0000
committerGravatar Lucien Van Elsen <lwvanels@mit.edu>1991-12-04 08:47:30 +0000
commitdbafcd968ad1363f78dfde195848ca8e5e2089ad (patch)
tree0f1ccb105d27aa1539043989d399b3f11f9d081b /lib/ZIfNotice.c
parentbe4b0ac80fccc296b4b15dedaa21be21e222c87f (diff)
Minor ANSI C fixes- (typecasts and nothing after #endif)
Diffstat (limited to 'lib/ZIfNotice.c')
-rw-r--r--lib/ZIfNotice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZIfNotice.c b/lib/ZIfNotice.c
index 32b6b83..c578de5 100644
--- a/lib/ZIfNotice.c
+++ b/lib/ZIfNotice.c
@@ -14,7 +14,7 @@
#ifndef lint
static char rcsid_ZIfNotice_c[] = "$Id$";
-#endif lint
+#endif
#include <zephyr/mit-copyright.h>
@@ -42,7 +42,7 @@ Code_t ZIfNotice(notice, from, predicate, args)
&tmpnotice)) != ZERR_NONE)
return (retval);
if ((*predicate)(&tmpnotice, args)) {
- if (!(buffer = malloc((unsigned) qptr->packet_len)))
+ if (!(buffer = (char *) malloc((unsigned) qptr->packet_len)))
return (ENOMEM);
bcopy(qptr->packet, buffer, qptr->packet_len);
if (from)