summaryrefslogtreecommitdiff
path: root/lib/ZRecvNot.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/ZRecvNot.c
parentbe4b0ac80fccc296b4b15dedaa21be21e222c87f (diff)
Minor ANSI C fixes- (typecasts and nothing after #endif)
Diffstat (limited to 'lib/ZRecvNot.c')
-rw-r--r--lib/ZRecvNot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZRecvNot.c b/lib/ZRecvNot.c
index 9178af3..e84e7cd 100644
--- a/lib/ZRecvNot.c
+++ b/lib/ZRecvNot.c
@@ -14,7 +14,7 @@
#ifndef lint
static char rcsid_ZReceiveNotice_c[] = "$Header$";
-#endif lint
+#endif
#include <zephyr/mit-copyright.h>
@@ -36,7 +36,7 @@ Code_t ZReceiveNotice(notice, from)
len = nextq->packet_len;
- if (!(buffer = malloc((unsigned) len)))
+ if (!(buffer = (char *) malloc((unsigned) len)))
return (ENOMEM);
if (from)