diff options
author | Lucien Van Elsen <lwvanels@mit.edu> | 1991-12-04 08:47:30 +0000 |
---|---|---|
committer | Lucien Van Elsen <lwvanels@mit.edu> | 1991-12-04 08:47:30 +0000 |
commit | dbafcd968ad1363f78dfde195848ca8e5e2089ad (patch) | |
tree | 0f1ccb105d27aa1539043989d399b3f11f9d081b /lib/ZFmtRawLst.c | |
parent | be4b0ac80fccc296b4b15dedaa21be21e222c87f (diff) |
Minor ANSI C fixes- (typecasts and nothing after #endif)
Diffstat (limited to 'lib/ZFmtRawLst.c')
-rw-r--r-- | lib/ZFmtRawLst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZFmtRawLst.c b/lib/ZFmtRawLst.c index 9f70708..7ac49e3 100644 --- a/lib/ZFmtRawLst.c +++ b/lib/ZFmtRawLst.c @@ -14,7 +14,7 @@ #ifndef lint static char rcsid_ZFormatRawNoticeList_c[] = "$Header$"; -#endif lint +#endif #include <zephyr/mit-copyright.h> @@ -42,7 +42,7 @@ Code_t ZFormatRawNoticeList(notice, list, nitems, buffer, ret_len) *ret_len = hdrlen+size; - if (!(*buffer = malloc((unsigned) *ret_len))) + if (!(*buffer = (char *) malloc((unsigned) *ret_len))) return (ENOMEM); bcopy(header, *buffer, hdrlen); |