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