diff options
Diffstat (limited to 'lib/ZFmtNotice.c')
-rw-r--r-- | lib/ZFmtNotice.c | 2 |
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); |