summaryrefslogtreecommitdiff
path: root/lib/ZFmtNotice.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/ZFmtNotice.c
parent0a9847711808fbd565b2d1db75525de6e606063f (diff)
lint fixes
Diffstat (limited to 'lib/ZFmtNotice.c')
-rw-r--r--lib/ZFmtNotice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZFmtNotice.c b/lib/ZFmtNotice.c
index 8aaab6a..c6292fe 100644
--- a/lib/ZFmtNotice.c
+++ b/lib/ZFmtNotice.c
@@ -36,7 +36,7 @@ Code_t ZFormatNotice(notice, buffer, ret_len, cert_routine)
*ret_len = hdrlen+notice->z_message_len;
- if (!(*buffer = (char *)malloc(*ret_len)))
+ if (!(*buffer = (char *)malloc((unsigned)*ret_len)))
return (ENOMEM);
bcopy(header, *buffer, hdrlen);