summaryrefslogtreecommitdiff
path: root/lib/ZFmtRawLst.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-23 06:28:56 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-23 06:28:56 +0000
commit76a56cff9767ccf9d1e579e808247ef3ad1f5282 (patch)
tree15a05e875c5e43bf2a739d1f9b15ed3b71c3bb77 /lib/ZFmtRawLst.c
parent0a9847711808fbd565b2d1db75525de6e606063f (diff)
lint fixes
Diffstat (limited to 'lib/ZFmtRawLst.c')
-rw-r--r--lib/ZFmtRawLst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZFmtRawLst.c b/lib/ZFmtRawLst.c
index deafbe3..9f70708 100644
--- a/lib/ZFmtRawLst.c
+++ b/lib/ZFmtRawLst.c
@@ -42,7 +42,7 @@ Code_t ZFormatRawNoticeList(notice, list, nitems, buffer, ret_len)
*ret_len = hdrlen+size;
- if (!(*buffer = malloc(*ret_len)))
+ if (!(*buffer = malloc((unsigned) *ret_len)))
return (ENOMEM);
bcopy(header, *buffer, hdrlen);